| 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.WithStep |
ParallelFlow.Builder.ExecuteStep.execute(Work... workUnits) |
SequentialFlow.Builder.ThenStep |
SequentialFlow.Builder.ExecuteStep.execute(Work initialWork) |
ConditionalFlow.Builder.WhenStep |
ConditionalFlow.Builder.ExecuteStep.execute(Work initialWorkUnit) |
ConditionalFlow.Builder.BuildStep |
ConditionalFlow.Builder.OtherwiseStep.otherwise(Work work) |
RepeatFlow.Builder.UntilStep |
RepeatFlow.Builder.RepeatStep.repeat(Work work) |
SequentialFlow.Builder.ThenStep |
SequentialFlow.Builder.ThenStep.then(Work nextWork) |
ConditionalFlow.Builder.OtherwiseStep |
ConditionalFlow.Builder.ThenStep.then(Work work) |
| Modifier and Type | Method and Description |
|---|---|
SequentialFlow.Builder.ThenStep |
SequentialFlow.Builder.ExecuteStep.execute(List<Work> initialWorkUnits) |
SequentialFlow.Builder.ThenStep |
SequentialFlow.Builder.ThenStep.then(List<Work> nextWorkUnits) |
Copyright © 2020. All rights reserved.