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) |
StateObj |
getSkipState(StateObj state) |
boolean |
shouldRun(StateObj state) |
boolean |
shouldSkip(StateObj state) |
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