com.atlassian.bamboo.task
Class QuarantineTaskResultProcessor

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

public class QuarantineTaskResultProcessor
extends java.lang.Object
implements TaskResultProcessor


Constructor Summary
QuarantineTaskResultProcessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 TaskState recalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition)
          Recalculate the TaskState of a given task and its' result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuarantineTaskResultProcessor

public QuarantineTaskResultProcessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

recalculateTaskState

@NotNull
public 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


Copyright © 2012 Atlassian. All Rights Reserved.