Class ReactionRecorder

java.lang.Object
ch.admin.bit.jeap.reaction.observer.core.domain.ReactionRecorder

public class ReactionRecorder extends Object
  • Constructor Details

  • Method Details

    • onAction

      public void onAction(Observation action)
      Record an action linked to the current trigger if one has been recorded, otherwise publish an action-only reaction.
    • onTriggerStart

      public void onTriggerStart(Observation trigger)
      Record the occurrence of a trigger
    • onTriggerHandled

      public void onTriggerHandled()
      Publish the reaction at the end of the current trigger
    • afterTrigger

      public void afterTrigger()
      Cleanup resources created at the start of the current trigger.