| Package | Description |
|---|---|
| org.jeasy.flows.work | |
| org.jeasy.flows.workflow |
| Modifier and Type | Class and Description |
|---|---|
class |
NoOpWork
No operation work.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WorkFlow
Interface to define a flow of work units.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConditionalFlow
A conditional flow is defined by 4 artifacts:
The work to execute first
A predicate for the conditional logic
The work to execute if the predicate is satisfied
The work to execute if the predicate is not satisfied (optional)
|
class |
ParallelFlow
A parallel flow executes a set of work units in parallel.
|
class |
RepeatFlow
A repeat flow executes a work repeatedly until its report satisfies a given predicate.
|
class |
SequentialFlow
A sequential flow executes a set of work units in sequence.
|
| Modifier and Type | Method and Description |
|---|---|
ParallelFlow.Builder |
ParallelFlow.Builder.execute(Work... works) |
SequentialFlow.Builder |
SequentialFlow.Builder.execute(Work work) |
ConditionalFlow.Builder |
ConditionalFlow.Builder.execute(Work work) |
ConditionalFlow.Builder |
ConditionalFlow.Builder.otherwise(Work work) |
RepeatFlow.Builder |
RepeatFlow.Builder.repeat(Work work) |
SequentialFlow.Builder |
SequentialFlow.Builder.then(Work work) |
ConditionalFlow.Builder |
ConditionalFlow.Builder.then(Work work) |
Copyright © 2020. All rights reserved.