Package com.redhat.parodos.workflow.task
Interface WorkFlowTask
-
- All Superinterfaces:
Work
- All Known Implementing Classes:
BaseAssessmentTask,BaseInfrastructureWorkFlowTask,BaseWorkFlowCheckerTask,BaseWorkFlowTask,ShellRunnerTask
public interface WorkFlowTask extends Work
Basic Contract for Work in the Infrastructure Service- Author:
- Luke Shannon (Github: lshannon)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default HashMap<String,Map<String,Object>>getAsJsonSchema()default @NonNull List<WorkFlowTaskOutput>getWorkFlowTaskOutputs()The expected Output/result of the Task.default @NonNull List<WorkFlowTaskParameter>getWorkFlowTaskParameters()Parameters required for the Task to execute.
-
-
-
Method Detail
-
getWorkFlowTaskParameters
@NonNull default @NonNull List<WorkFlowTaskParameter> getWorkFlowTaskParameters()
Parameters required for the Task to execute. These are generally obtained from the @see WorkContext. The @see BaseWorkFlowTask has a method to simplify getting these values- Returns:
- List of @see WorkFlowTaskParameter that need to be obtained from the @see WorkContext
-
getWorkFlowTaskOutputs
@NonNull default @NonNull List<WorkFlowTaskOutput> getWorkFlowTaskOutputs()
The expected Output/result of the Task.- Returns:
- List of @see WorkFlowTaskOutput
-
-