Class DelegateExpressionCaseLifecycleListener
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.listener.DelegateExpressionCaseLifecycleListener
-
- All Implemented Interfaces:
CaseInstanceLifecycleListener
public class DelegateExpressionCaseLifecycleListener extends Object implements CaseInstanceLifecycleListener
- Author:
- martin.grofcik
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpressionprotected List<org.flowable.cmmn.model.FieldExtension>fieldExtensionsprotected StringsourceStateprotected StringtargetState
-
Constructor Summary
Constructors Constructor Description DelegateExpressionCaseLifecycleListener(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 CaseInstance lifecycle listener.StringgetSourceState()StringgetTargetState()voidstateChanged(CaseInstance caseInstance, 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
-
DelegateExpressionCaseLifecycleListener
public DelegateExpressionCaseLifecycleListener(String sourceState, String targetState, Expression expression, List<org.flowable.cmmn.model.FieldExtension> fieldExtensions)
-
-
Method Detail
-
getSourceState
public String getSourceState()
- Specified by:
getSourceStatein interfaceCaseInstanceLifecycleListener
-
getTargetState
public String getTargetState()
- Specified by:
getTargetStatein interfaceCaseInstanceLifecycleListener
-
stateChanged
public void stateChanged(CaseInstance caseInstance, String oldState, String newState)
- Specified by:
stateChangedin interfaceCaseInstanceLifecycleListener
-
getExpressionText
public String getExpressionText()
returns the expression text for this CaseInstance lifecycle listener.
-
-