Interface CmmnTriggerableActivityBehavior

All Superinterfaces:
CmmnActivityBehavior
All Known Subinterfaces:
PlanItemActivityBehavior
All Known Implementing Classes:
CasePageTaskActivityBehaviour, CaseTaskActivityBehavior, ChildTaskActivityBehavior, ClassDelegateHttpHandler, CmmnClassDelegate, CoreCmmnTriggerableActivityBehavior, DecisionTaskActivityBehavior, EventRegistryEventListenerActivityBehaviour, ExternalWorkerTaskActivityBehavior, GenericEventListenerActivityBehaviour, HumanTaskActivityBehavior, PlanItemDelegateExpressionActivityBehavior, ProcessTaskActivityBehavior, ScriptTaskActivityBehavior, SendEventActivityBehavior, SignalEventListenerActivityBehaviour, StageActivityBehavior, TaskActivityBehavior, TimerEventListenerActivityBehaviour, UserEventListenerActivityBehaviour, VariableEventListenerActivityBehaviour

public interface CmmnTriggerableActivityBehavior extends CmmnActivityBehavior
Behavior interface, like CmmnActivityBehavior, when the CMMN engine decides the behavior for a plan item needs to be executed and the behavior acts as a wait state. This means that after the CmmnActivityBehavior.execute(DelegatePlanItemInstance) method is called, the engine will not automatically complete the corresponding PlanItemInstance as happens for the CmmnActivityBehavior implementations. Note that 'triggering' a plan item that acts as a wait state is not part of the CMMN specification, but has been added as an explicit concept to mimic the concept of 'triggering' used by the process engine. Any plan item that implements this interface should be triggereable programmatically through the CmmnRuntimeService.triggerPlanItemInstance(String) method. Concrete implementations of this class will be set on the PlanItem in the case model during parsing.
Author:
Joram Barrez