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