| Package | Description |
|---|---|
| org.jeasy.flows.engine | |
| org.jeasy.flows.work | |
| org.jeasy.flows.workflow |
| Modifier and Type | Method and Description |
|---|---|
WorkReport |
WorkFlowEngine.run(WorkFlow workFlow,
WorkContext workContext)
Run the given workflow and return its report.
|
| Modifier and Type | Method and Description |
|---|---|
WorkContext |
WorkReport.getWorkContext()
Get the last work context of the flow
|
WorkContext |
DefaultWorkReport.getWorkContext() |
| Modifier and Type | Method and Description |
|---|---|
WorkReport |
Work.execute(WorkContext workContext)
Execute the unit of work and return its report.
|
WorkReport |
NoOpWork.execute(WorkContext workContext) |
| Constructor and Description |
|---|
DefaultWorkReport(WorkStatus status,
WorkContext workContext)
Create a new
DefaultWorkReport. |
DefaultWorkReport(WorkStatus status,
WorkContext workContext,
Throwable error)
Create a new
DefaultWorkReport. |
| Modifier and Type | Method and Description |
|---|---|
WorkContext |
ParallelFlowReport.getWorkContext()
The parallel flow context is the union of all partial contexts.
|
| Modifier and Type | Method and Description |
|---|---|
WorkReport |
SequentialFlow.execute(WorkContext workContext)
Execute the unit of work and return its report.
|
WorkReport |
RepeatFlow.execute(WorkContext workContext)
Execute the unit of work and return its report.
|
ParallelFlowReport |
ParallelFlow.execute(WorkContext workContext)
Execute the unit of work and return its report.
|
WorkReport |
ConditionalFlow.execute(WorkContext workContext)
Execute the unit of work and return its report.
|
Copyright © 2020. All rights reserved.