Class CasePageTaskActivityBehaviour
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.behavior.CoreCmmnActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.CoreCmmnTriggerableActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.impl.TaskActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.impl.CasePageTaskActivityBehaviour
-
- All Implemented Interfaces:
CmmnActivityBehavior,CmmnTriggerableActivityBehavior,OnParentEndDependantActivityBehavior,PlanItemActivityBehavior
public class CasePageTaskActivityBehaviour extends TaskActivityBehavior implements PlanItemActivityBehavior, OnParentEndDependantActivityBehavior
-
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.model.CasePageTaskcasePageTask-
Fields inherited from class org.flowable.cmmn.engine.impl.behavior.impl.TaskActivityBehavior
isBlocking, isBlockingExpression
-
-
Constructor Summary
Constructors Constructor Description CasePageTaskActivityBehaviour(org.flowable.cmmn.model.CasePageTask casePageTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)protected Collection<String>getExpressionListValue(String value, PlanItemInstanceEntity planItemInstanceEntity, ExpressionManager expressionManager)protected StringgetExpressionValue(String value, PlanItemInstanceEntity planItemInstanceEntity, ExpressionManager expressionManager)voidonParentEnd(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, String parentEndTransition, String exitEventType)This method will be triggered on a child plan item instance whenever its parent transitions to an ending state with all necessary information to implement the necessary behavior.voidonStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)-
Methods inherited from class org.flowable.cmmn.engine.impl.behavior.impl.TaskActivityBehavior
evaluateIsBlocking, trigger
-
Methods inherited from class org.flowable.cmmn.engine.impl.behavior.CoreCmmnTriggerableActivityBehavior
trigger
-
Methods inherited from class org.flowable.cmmn.engine.impl.behavior.CoreCmmnActivityBehavior
execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
execute
public void execute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
- Overrides:
executein classTaskActivityBehavior
-
onStateTransition
public void onStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)
- Specified by:
onStateTransitionin interfacePlanItemActivityBehavior
-
onParentEnd
public void onParentEnd(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, String parentEndTransition, String exitEventType)
Description copied from interface:OnParentEndDependantActivityBehaviorThis method will be triggered on a child plan item instance whenever its parent transitions to an ending state with all necessary information to implement the necessary behavior. MAKE SURE that you will put the provided plan item instance to an ending state by triggering the appropriate operation on the agenda likeCmmnEngineAgenda.planTerminatePlanItemInstanceOperation(PlanItemInstanceEntity, String, String)orCmmnEngineAgenda.planCompletePlanItemInstanceOperation(PlanItemInstanceEntity).- Specified by:
onParentEndin interfaceOnParentEndDependantActivityBehavior- Parameters:
commandContext- the command context under which this hook gets invokedplanItemInstanceEntity- the plan item instance to put into an ending stateparentEndTransition- the transition of the parent plan item instance to its ending state as it might have an impact on how to end this plan item instanceexitEventType- the optional exit event type (e.g.Criterion.EXIT_EVENT_TYPE_COMPLETE, etc) if the parent was ended through an exit sentry, the exit event type will contain information on how exactly the exit was triggered (e.g. exit or complete, etc)
-
getExpressionValue
protected String getExpressionValue(String value, PlanItemInstanceEntity planItemInstanceEntity, ExpressionManager expressionManager)
-
getExpressionListValue
protected Collection<String> getExpressionListValue(String value, PlanItemInstanceEntity planItemInstanceEntity, ExpressionManager expressionManager)
-
-