Class EventConfigProcessor

java.lang.Object
com.avoka.fc.core.event.EventConfigProcessor

public class EventConfigProcessor extends Object
Processes the event changes for the configured conditions
Since:
22.10.0
  • Constructor Details

    • EventConfigProcessor

      public EventConfigProcessor()
  • Method Details

    • processEventChanges

      public void processEventChanges(EventChanges eventChanges, boolean sendEventToQueue)
      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 changes
      entryConditionList - conditions to check
      Returns:
      true if conditions are met
    • invalidateCache

      public static void invalidateCache()
      Invalidate the config cache.