public class QuarantineTaskResultProcessor extends Object implements TaskResultProcessor
Constructor and Description |
---|
QuarantineTaskResultProcessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
TaskState |
recalculateTaskState(TaskContext taskContext,
TaskResult taskResult,
TaskDefinition taskDefinition)
Recalculate the
TaskState of a given task and its' result. |
public QuarantineTaskResultProcessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
@NotNull public TaskState recalculateTaskState(TaskContext taskContext, TaskResult taskResult, TaskDefinition taskDefinition)
TaskResultProcessor
TaskState
of a given task and its' result.recalculateTaskState
in interface TaskResultProcessor
taskContext
- - taskContext of the task you are evaluatingtaskResult
- - The current TaskResult of the task you are evaluatingtaskDefinition
- - TaskDefinition of task you are evaluatingCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.