Package com.atlassian.bamboo.task
Interface TaskResultProcessor
-
- All Known Implementing Classes:
QuarantineTaskResultProcessor
@Internal public interface TaskResultProcessorThis interface is used to recalculate theTaskStateof a Task after execution Used only for quarantined tests currently.- Since:
- 3.4
- See Also:
TaskState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull TaskStaterecalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition)Recalculate theTaskStateof a given task and its' result.
-
-
-
Method Detail
-
recalculateTaskState
@NotNull @NotNull TaskState recalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition)
Recalculate theTaskStateof a given task and its' result.- Parameters:
taskContext- - taskContext of the task you are evaluatingtaskResult- - The current TaskResult of the task you are evaluatingtaskDefinition- - TaskDefinition of task you are evaluating- Returns:
- TaskState after parsing current result
-
-