Class DelegateExpressionPlanItemLifecycleListener
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.listener.DelegateExpressionPlanItemLifecycleListener
-
- All Implemented Interfaces:
PlanItemInstanceLifecycleListener
public class DelegateExpressionPlanItemLifecycleListener extends Object implements PlanItemInstanceLifecycleListener
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpressionprotected List<org.flowable.cmmn.model.FieldExtension>fieldExtensionsprotected StringsourceStateprotected StringtargetState
-
Constructor Summary
Constructors Constructor Description DelegateExpressionPlanItemLifecycleListener(String sourceState, String targetState, Expression expression, List<org.flowable.cmmn.model.FieldExtension> fieldExtensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpressionText()returns the expression text for this planItemInstance lifecycle listener.StringgetSourceState()StringgetTargetState()voidstateChanged(DelegatePlanItemInstance planItemInstance, String oldState, String newState)
-
-
-
Field Detail
-
sourceState
protected String sourceState
-
targetState
protected String targetState
-
expression
protected Expression expression
-
fieldExtensions
protected List<org.flowable.cmmn.model.FieldExtension> fieldExtensions
-
-
Constructor Detail
-
DelegateExpressionPlanItemLifecycleListener
public DelegateExpressionPlanItemLifecycleListener(String sourceState, String targetState, Expression expression, List<org.flowable.cmmn.model.FieldExtension> fieldExtensions)
-
-
Method Detail
-
getSourceState
public String getSourceState()
- Specified by:
getSourceStatein interfacePlanItemInstanceLifecycleListener
-
getTargetState
public String getTargetState()
- Specified by:
getTargetStatein interfacePlanItemInstanceLifecycleListener
-
stateChanged
public void stateChanged(DelegatePlanItemInstance planItemInstance, String oldState, String newState)
- Specified by:
stateChangedin interfacePlanItemInstanceLifecycleListener
-
getExpressionText
public String getExpressionText()
returns the expression text for this planItemInstance lifecycle listener.
-
-