com.atlassian.bamboo.task
Interface TaskResultProcessor

All Known Implementing Classes:
QuarantineTaskResultProcessor

public interface TaskResultProcessor

This interface is used to recalculate the TaskState of a Task after execution Used only for quarantined tests currently.

Since:
3.4
See Also:
TaskState

Method Summary
 TaskState recalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition)
          Recalculate the TaskState of a given task and its' result.
 

Method Detail

recalculateTaskState

@NotNull
TaskState recalculateTaskState(TaskContext taskContext,
                                       TaskResult taskResult,
                                       TaskDefinition taskDefinition)
Recalculate the TaskState of a given task and its' result.

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.