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, likeCmmnActivityBehavior, 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 theCmmnActivityBehavior.execute(DelegatePlanItemInstance)method is called, the engine will not automatically complete the correspondingPlanItemInstanceas happens for theCmmnActivityBehaviorimplementations. 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 theCmmnRuntimeService.triggerPlanItemInstance(String)method. Concrete implementations of this class will be set on thePlanItemin the case model during parsing.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtrigger(DelegatePlanItemInstance planItemInstance)-
Methods inherited from interface org.flowable.cmmn.engine.impl.behavior.CmmnActivityBehavior
execute
-
-
-
-
Method Detail
-
trigger
void trigger(DelegatePlanItemInstance planItemInstance)
-
-