public interface WorkflowSystem
Modifier and Type | Interface and Description |
---|---|
static interface |
WorkflowSystem.Operation<T extends WorkflowSystem.OperationSuccess>
An operation which returns a success result object
|
static interface |
WorkflowSystem.OperationResult<T extends WorkflowSystem.OperationSuccess,X extends WorkflowSystem.Operation<T>>
Return type which contains either a success result, or a failure throwable, and includes the original
operation
|
static interface |
WorkflowSystem.OperationSuccess
Indicates an operation succeeded, supplies a new set of state data to update the mutable state with
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInterrupted() |
<T extends WorkflowSystem.OperationSuccess,X extends WorkflowSystem.Operation<T>> |
processOperations(java.util.Set<X> operations)
Process the operations and return results when all runnable operations are complete.
|
<T extends WorkflowSystem.OperationSuccess,X extends WorkflowSystem.Operation<T>> java.util.Set<WorkflowSystem.OperationResult<T,X>> processOperations(java.util.Set<X> operations)
T
- success result of an operationX
- operation classoperations
- operationsboolean isInterrupted()
processOperations(Set)
stopped due to interruption