Class CaseTaskActivityBehavior
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.behavior.CoreCmmnActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.CoreCmmnTriggerableActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.impl.ChildTaskActivityBehavior
-
- org.flowable.cmmn.engine.impl.behavior.impl.CaseTaskActivityBehavior
-
- All Implemented Interfaces:
CmmnActivityBehavior,CmmnTriggerableActivityBehavior,PlanItemActivityBehavior
public class CaseTaskActivityBehavior extends ChildTaskActivityBehavior implements PlanItemActivityBehavior
- Author:
- Joram Barrez
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.cmmn.engine.impl.behavior.impl.ChildTaskActivityBehavior
ChildTaskActivityBehavior.VariableInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcaseRefprotected ExpressioncaseRefExpressionprotected org.flowable.cmmn.model.CaseTaskcaseTaskprotected BooleanfallbackToDefaultTenantprotected booleansameDeployment-
Fields inherited from class org.flowable.cmmn.engine.impl.behavior.impl.ChildTaskActivityBehavior
inParameters, isBlocking, isBlockingExpression, outParameters
-
-
Constructor Summary
Constructors Constructor Description CaseTaskActivityBehavior(Expression caseRefExpression, org.flowable.cmmn.model.CaseTask caseTask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteChildEntity(CommandContext commandContext, DelegatePlanItemInstance delegatePlanItemInstance, boolean cascade)Called when a manual delete is triggered (NOT when a terminate/complete is triggered), for example when a deployment is deleted and everything related needs to be deleted.voidexecute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, ChildTaskActivityBehavior.VariableInfo variableInfo)protected voidhandleOutParameters(DelegatePlanItemInstance planItemInstance, CaseInstanceEntity caseInstance, CmmnRuntimeService cmmnRuntimeService, CmmnEngineConfiguration cmmnEngineConfiguration)protected voidhandleOutParameters(CommandContext commandContext, PlanItemInstanceEntity planItemInstance)voidonStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)protected ObjectresolveExpression(CmmnEngineConfiguration cmmnEngineConfiguration, String executionId, String expressionString)voidtrigger(CommandContext commandContext, PlanItemInstanceEntity planItemInstance)-
Methods inherited from class org.flowable.cmmn.engine.impl.behavior.impl.ChildTaskActivityBehavior
evaluateIsBlocking, execute, getBusinessKey, handleInParameters
-
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
-
-
-
-
Field Detail
-
caseRefExpression
protected Expression caseRefExpression
-
caseRef
protected String caseRef
-
fallbackToDefaultTenant
protected Boolean fallbackToDefaultTenant
-
sameDeployment
protected boolean sameDeployment
-
caseTask
protected org.flowable.cmmn.model.CaseTask caseTask
-
-
Constructor Detail
-
CaseTaskActivityBehavior
public CaseTaskActivityBehavior(Expression caseRefExpression, org.flowable.cmmn.model.CaseTask caseTask)
-
-
Method Detail
-
execute
public void execute(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, ChildTaskActivityBehavior.VariableInfo variableInfo)
- Specified by:
executein classChildTaskActivityBehavior
-
trigger
public void trigger(CommandContext commandContext, PlanItemInstanceEntity planItemInstance)
- Overrides:
triggerin classChildTaskActivityBehavior
-
onStateTransition
public void onStateTransition(CommandContext commandContext, DelegatePlanItemInstance planItemInstance, String transition)
- Specified by:
onStateTransitionin interfacePlanItemActivityBehavior
-
resolveExpression
protected Object resolveExpression(CmmnEngineConfiguration cmmnEngineConfiguration, String executionId, String expressionString)
-
deleteChildEntity
public void deleteChildEntity(CommandContext commandContext, DelegatePlanItemInstance delegatePlanItemInstance, boolean cascade)
Description copied from class:ChildTaskActivityBehaviorCalled when a manual delete is triggered (NOT when a terminate/complete is triggered), for example when a deployment is deleted and everything related needs to be deleted.- Specified by:
deleteChildEntityin classChildTaskActivityBehavior
-
handleOutParameters
protected void handleOutParameters(CommandContext commandContext, PlanItemInstanceEntity planItemInstance)
-
handleOutParameters
protected void handleOutParameters(DelegatePlanItemInstance planItemInstance, CaseInstanceEntity caseInstance, CmmnRuntimeService cmmnRuntimeService, CmmnEngineConfiguration cmmnEngineConfiguration)
-
-