Class SequentialFlow
- java.lang.Object
-
- com.redhat.parodos.workflows.workflow.SequentialFlow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequentialFlow.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkReportexecute(WorkContext workContext)Execute the unit of work and return its report.StringgetName()The name of the unit of work.
-
-
-
Method Detail
-
execute
public WorkReport execute(WorkContext workContext)
Execute the unit of work and return its report. Implementations are required to catch any checked or unchecked exceptions and return aWorkReportinstance with a status ofWorkStatus.FAILEDand a reference to the exception.- Parameters:
workContext- context in which this unit of work is being executed- Returns:
- the execution report
-
-