T - result typepublic static interface WorkflowSystem.Operation<X,T extends WorkflowSystem.OperationCompleted>
extends java.util.function.Function<X,T>
| Modifier and Type | Method and Description |
|---|---|
StateObj |
getFailureState(java.lang.Throwable t) |
java.lang.String |
getIdentity()
Identifier for the operation
|
StateObj |
getSkipState(StateObj state) |
boolean |
shouldRun(StateObj state) |
boolean |
shouldSkip(StateObj state) |
java.lang.String getIdentity()
boolean shouldRun(StateObj state)
state - current stateboolean shouldSkip(StateObj state)
state - current stateStateObj getSkipState(StateObj state)
state - current stateStateObj getFailureState(java.lang.Throwable t)
t - throwable