Class QuarantineTaskResultProcessor

java.lang.Object
com.atlassian.bamboo.task.QuarantineTaskResultProcessor
All Implemented Interfaces:
TaskResultProcessor

public class QuarantineTaskResultProcessor extends Object implements TaskResultProcessor
  • 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 the TaskState of a given task and its' result.
      Specified by:
      recalculateTaskState in interface TaskResultProcessor
      Parameters:
      taskContext - - taskContext of the task you are evaluating
      taskResult - - The current TaskResult of the task you are evaluating
      taskDefinition - - TaskDefinition of task you are evaluating
      Returns:
      TaskState after parsing current result