Class ExpressionPlanItemLifecycleListener
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.listener.ExpressionPlanItemLifecycleListener
-
- All Implemented Interfaces:
PlanItemInstanceLifecycleListener
public class ExpressionPlanItemLifecycleListener extends Object implements PlanItemInstanceLifecycleListener
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpressionprotected StringsourceStateprotected StringtargetState
-
Constructor Summary
Constructors Constructor Description ExpressionPlanItemLifecycleListener(String sourceState, String targetState, Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpressionText()returns the expression text for this task listener.StringgetSourceState()StringgetTargetState()voidstateChanged(DelegatePlanItemInstance planItemInstance, String oldState, String newState)
-
-
-
Field Detail
-
sourceState
protected String sourceState
-
targetState
protected String targetState
-
expression
protected Expression expression
-
-
Constructor Detail
-
ExpressionPlanItemLifecycleListener
public ExpressionPlanItemLifecycleListener(String sourceState, String targetState, Expression expression)
-
-
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 task listener.
-
-