Interface PlanItemActivityBehavior
-
- All Superinterfaces:
CmmnActivityBehavior,CmmnTriggerableActivityBehavior
- All Known Implementing Classes:
CasePageTaskActivityBehaviour,CaseTaskActivityBehavior,DecisionTaskActivityBehavior,EventRegistryEventListenerActivityBehaviour,GenericEventListenerActivityBehaviour,HumanTaskActivityBehavior,ProcessTaskActivityBehavior,SignalEventListenerActivityBehaviour,StageActivityBehavior,TimerEventListenerActivityBehaviour,UserEventListenerActivityBehaviour,VariableEventListenerActivityBehaviour
public interface PlanItemActivityBehavior extends CmmnTriggerableActivityBehavior
Behavior interface, like theCmmnActivityBehaviorandCmmnTriggerableActivityBehaviorinterfaces, exposing even more low-level hookpoints to add custom logic. Implementations of this interface will also get notified of transitions between plan item lifecycle states and can add custom logic if needed. The transitions supported by the engine are found in thePlanItemTransitionclass.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)-
Methods inherited from interface org.flowable.cmmn.engine.impl.behavior.CmmnActivityBehavior
execute
-
Methods inherited from interface org.flowable.cmmn.engine.impl.behavior.CmmnTriggerableActivityBehavior
trigger
-
-
-
-
Method Detail
-
onStateTransition
void onStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)
-
-