Package com.avoka.fc.core.event
Class EventConfigProcessor
java.lang.Object
com.avoka.fc.core.event.EventConfigProcessor
Processes the event changes for the configured conditions
- Since:
- 22.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Invalidate the config cache.protected boolean
processConditions
(EventChanges eventChanges, List<EntryCondition> entryConditionList) Processes the event changes from the user conditionsvoid
processEventChanges
(EventChanges eventChanges, boolean sendEventToQueue) Processes the cayenne commit log event changes against the stored user event configuration
-
Constructor Details
-
EventConfigProcessor
public EventConfigProcessor()
-
-
Method Details
-
processEventChanges
Processes the cayenne commit log event changes against the stored user event configuration- Parameters:
eventChanges
- that have occurred
-
processConditions
protected boolean processConditions(EventChanges eventChanges, List<EntryCondition> entryConditionList) Processes the event changes from the user conditions- Parameters:
eventChanges
- event changesentryConditionList
- conditions to check- Returns:
- true if conditions are met
-
invalidateCache
public static void invalidateCache()Invalidate the config cache.
-