public interface PlanItemInstanceLifecycleListener
| Modifier and Type | Method and Description |
|---|---|
String |
getSourceState() |
String |
getTargetState() |
void |
stateChanged(DelegatePlanItemInstance planItemInstance,
String oldState,
String newState)
Will be called when the state of a
DelegatePlanItemInstance changes and the
getSourceState() and getTargetState() match. |
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(DelegatePlanItemInstance planItemInstance, String oldState, String newState)
DelegatePlanItemInstance changes and the
getSourceState() and getTargetState() match.Copyright © 2021 Flowable. All rights reserved.