Package com.avoka.fc.core.event.operand
Class AbstractEventOperand
java.lang.Object
com.avoka.fc.core.event.operand.EventOperand
com.avoka.fc.core.event.operand.AbstractEventOperand
- Direct Known Subclasses:
EventGreaterThan
,EventGreaterThanEqual
,EventLessThan
,EventLessThanEqual
Processes the less than, greater than plus equal operands for an event
- Since:
- 22.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compareValues
(org.apache.cayenne.commitlog.model.ObjectChangeType changeType, org.apache.commons.lang3.tuple.Pair<Object, Object> changes, Object eventConfigPreviousValue, List<Object> eventConfigTargetValues) Compares the values for a section of the configuration
-
Constructor Details
-
AbstractEventOperand
public AbstractEventOperand()
-
-
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 classEventOperand
- Parameters:
changeType
- type of change, i.e. INSERT, DELETE, UPDATEchanges
- that have occurred on the objecteventConfigPreviousValue
- configuration to check for - previous values must equal value specifiedeventConfigTargetValues
- configuration to check the change target value - target values are dependent on the operand- Returns:
- true if matched
-