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
FieldsFields inherited from class org.flowable.cmmn.engine.impl.behavior.impl.TaskActivityBehavior
isBlocking, isBlockingExpression -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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, triggerMethods inherited from class org.flowable.cmmn.engine.impl.behavior.CoreCmmnTriggerableActivityBehavior
triggerMethods inherited from class org.flowable.cmmn.engine.impl.behavior.CoreCmmnActivityBehavior
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.cmmn.engine.impl.behavior.CmmnActivityBehavior
executeMethods inherited from interface org.flowable.cmmn.engine.impl.behavior.CmmnTriggerableActivityBehavior
trigger
-
Field Details
-
casePageTask
-
-
Constructor Details
-
CasePageTaskActivityBehaviour
-
-
Method Details
-
execute
- 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)
-