Class NoOpWork
java.lang.Object
com.redhat.parodos.workflows.work.NoOpWork
- All Implemented Interfaces:
Work
No operation work.
- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(WorkContext workContext) Execute the unit of work and return its report.getName()The name of the unit of work.
-
Constructor Details
-
NoOpWork
public NoOpWork()
-
-
Method Details
-
getName
Description copied from interface:WorkThe name of the unit of work. The name must be unique within a workflow definition. -
execute
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.
-