Class NoOpWork
- java.lang.Object
-
- com.redhat.parodos.workflows.work.NoOpWork
-
-
Constructor Summary
Constructors Constructor Description NoOpWork()
-
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
-
getName
public String getName()
Description copied from interface:WorkThe name of the unit of work. The name must be unique within a workflow definition.
-
execute
public WorkReport execute(WorkContext workContext)
Description copied from interface:WorkExecute 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.
-
-