Class ReactionRecorder
java.lang.Object
ch.admin.bit.jeap.reaction.observer.core.domain.ReactionRecorder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCleanup resources created at the start of the current trigger.voidonAction(Observation action) Record an action linked to the current trigger if one has been recorded, otherwise publish an action-only reaction.voidPublish the reaction at the end of the current triggervoidonTriggerStart(Observation trigger) Record the occurrence of a trigger
-
Constructor Details
-
ReactionRecorder
-
-
Method Details
-
onAction
Record an action linked to the current trigger if one has been recorded, otherwise publish an action-only reaction. -
onTriggerStart
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.
-