public class ExpressionPlanItemLifecycleListener extends Object implements PlanItemInstanceLifecycleListener
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expression |
protected String |
sourceState |
protected String |
targetState |
| Constructor and Description |
|---|
ExpressionPlanItemLifecycleListener(String sourceState,
String targetState,
Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionText()
returns the expression text for this task listener.
|
String |
getSourceState() |
String |
getTargetState() |
void |
stateChanged(DelegatePlanItemInstance planItemInstance,
String oldState,
String newState) |
protected String sourceState
protected String targetState
protected Expression expression
public ExpressionPlanItemLifecycleListener(String sourceState, String targetState, Expression expression)
public String getSourceState()
getSourceState in interface PlanItemInstanceLifecycleListenerpublic String getTargetState()
getTargetState in interface PlanItemInstanceLifecycleListenerpublic void stateChanged(DelegatePlanItemInstance planItemInstance, String oldState, String newState)
stateChanged in interface PlanItemInstanceLifecycleListenerpublic String getExpressionText()
Copyright © 2021 Flowable. All rights reserved.