Class EventEqual

java.lang.Object
com.avoka.fc.core.event.operand.EventOperand
com.avoka.fc.core.event.operand.EventEqual

public class EventEqual extends EventOperand
Processes the equal operand for an event
Since:
22.10.0
  • Constructor Details

    • EventEqual

      public EventEqual()
  • Method Details

    • compareValues

      public boolean compareValues(org.apache.cayenne.commitlog.model.ObjectChangeType changeType, org.apache.commons.lang3.tuple.Pair<Object,Object> changes, Object eventConfigPreviousValue, List<Object> eventConfigTargetValues)
      Description copied from class: EventOperand
      Compares the values for a section of the configuration
      Specified by:
      compareValues in class EventOperand
      Parameters:
      changeType - type of change, i.e. INSERT, DELETE, UPDATE
      changes - that have occurred on the object
      eventConfigPreviousValue - configuration to check for - previous values must equal value specified
      eventConfigTargetValues - configuration to check the change target value - target values are dependent on the operand
      Returns:
      true if matched