Interface PipelineExecutorTask
-
- All Known Implementing Classes:
PipelineExecutorTaskImpl
public interface PipelineExecutorTaskThis class represents a pipeline execution task.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPipelineExecutorTask.StatusIndicates the pipeline execution status.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()The UUID for task.RegistrableOutputgetOutput()PipelineExecutorErrorgetPipelineError()PipelineExecutorTask.StatusgetPipelineStatus()PipelineExecutorErrorgetStageError(String stage)PipelineExecutorTask.StatusgetStageStatus(String stage)PipelineExecutorTaskDefgetTaskDef()
-
-
-
Method Detail
-
getTaskDef
PipelineExecutorTaskDef getTaskDef()
- Returns:
- The task definition that is being executed or was executed.
-
getId
String getId()
The UUID for task.
-
getPipelineStatus
PipelineExecutorTask.Status getPipelineStatus()
- Returns:
- the pipeline execution status.
-
getStageStatus
PipelineExecutorTask.Status getStageStatus(String stage)
- Parameters:
stage- a pipeline Stage for querying the execution status.- Returns:
- The execution status for the given stage.
-
getStageError
PipelineExecutorError getStageError(String stage)
- Parameters:
stage- a pipeline Stage for querying the execution error.- Returns:
- The execution error for the Stage in cases where the Stage execution failed, null in any other case.
-
getPipelineError
PipelineExecutorError getPipelineError()
- Returns:
- The pipeline execution error in cases where execution failed, false in any other case.
-
getOutput
RegistrableOutput getOutput()
- Returns:
- A config element with the pipeline output.
-
-