Package com.atlassian.bamboo.task
Class QuarantineTaskResultProcessor
java.lang.Object
com.atlassian.bamboo.task.QuarantineTaskResultProcessor
- All Implemented Interfaces:
TaskResultProcessor
-
Constructor Summary
ConstructorDescriptionQuarantineTaskResultProcessor
(com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescription@NotNull TaskState
recalculateTaskState
(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition) Recalculate theTaskState
of a given task and its' result.
-
Constructor Details
-
QuarantineTaskResultProcessor
public QuarantineTaskResultProcessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
recalculateTaskState
@NotNull public @NotNull TaskState recalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition) Description copied from interface:TaskResultProcessor
Recalculate theTaskState
of a given task and its' result.- Specified by:
recalculateTaskState
in interfaceTaskResultProcessor
- 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
-