public class CasePageTaskActivityBehaviour extends TaskActivityBehavior implements PlanItemActivityBehavior, OnParentEndDependantActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.cmmn.model.CasePageTask |
casePageTask |
isBlocking, isBlockingExpression| Constructor and Description |
|---|
CasePageTaskActivityBehaviour(org.flowable.cmmn.model.CasePageTask casePageTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity) |
protected String |
getExpressionValue(String value,
PlanItemInstanceEntity planItemInstanceEntity,
ExpressionManager expressionManager) |
void |
onParentEnd(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.
|
void |
onStateTransition(CommandContext commandContext,
DelegatePlanItemInstance planItemInstance,
String transition) |
evaluateIsBlocking, triggertriggerexecuteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittriggerexecutepublic CasePageTaskActivityBehaviour(org.flowable.cmmn.model.CasePageTask casePageTask)
public void execute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity)
execute in class TaskActivityBehaviorpublic void onStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)
onStateTransition in interface PlanItemActivityBehaviorpublic void onParentEnd(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, String parentEndTransition, String exitEventType)
OnParentEndDependantActivityBehaviorCmmnEngineAgenda.planTerminatePlanItemInstanceOperation(PlanItemInstanceEntity, String, String) or
CmmnEngineAgenda.planCompletePlanItemInstanceOperation(PlanItemInstanceEntity).onParentEnd in interface OnParentEndDependantActivityBehaviorcommandContext - 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)protected String getExpressionValue(String value, PlanItemInstanceEntity planItemInstanceEntity, ExpressionManager expressionManager)
Copyright © 2021 Flowable. All rights reserved.