public interface PlanItemInstanceLifeCycleListener
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getItemDefinitionTypes() |
String |
getSourceState() |
String |
getTargetState() |
void |
stateChanged(PlanItemInstance planItemInstance,
String oldState,
String newState)
Will be called when the state of a
PlanItemInstance changes, if the getItemDefinitionTypes() and the
getSourceState() and getTargetState() match. |
List<String> getItemDefinitionTypes()
org.flowable.cmmn.api.runtime.PlanItemDefinitionType) this listener listens for.
If an empty list or null is returned, all types will be assumed.String getSourceState()
PlanItemInstanceState.
This listener will only receive elements where the state changing from this value to another one.
Return null or the empty String to listen to any state.String getTargetState()
PlanItemInstanceState.
This listener will only receive elements where the state changing from this value to another one.
Return null or the empty String to listen to any state.void stateChanged(PlanItemInstance planItemInstance, String oldState, String newState)
PlanItemInstance changes, if the getItemDefinitionTypes() and the
getSourceState() and getTargetState() match.Copyright © 2018 Flowable. All rights reserved.