T
- data typepublic static interface WorkflowSystem.SharedData<T,Y>
Modifier and Type | Method and Description |
---|---|
void |
addData(T item)
Add a data item
|
T |
produceNext()
produce a data item for input to a subsequent operation
|
Y |
produceState()
Produce wf state data from the shared data
|
static <T,Y> WorkflowSystem.SharedData<T,Y> |
with(java.util.function.Consumer<T> adder,
java.util.function.Supplier<T> producer,
java.util.function.Supplier<Y> stateProducer) |
void addData(T item)
item
- T produceNext()
Y produceState()
static <T,Y> WorkflowSystem.SharedData<T,Y> with(java.util.function.Consumer<T> adder, java.util.function.Supplier<T> producer, java.util.function.Supplier<Y> stateProducer)