com.atlassian.bamboo.task
Class FinalizingTaskExecutionStrategy

java.lang.Object
  extended by com.atlassian.bamboo.task.FinalizingTaskExecutionStrategy
All Implemented Interfaces:
TaskExecutionStrategy

public class FinalizingTaskExecutionStrategy
extends java.lang.Object
implements TaskExecutionStrategy


Constructor Summary
FinalizingTaskExecutionStrategy()
           
 
Method Summary
 boolean hasTasksToExecute(java.util.Queue<TaskDefinition> tasks, TaskResult lastTaskResult)
           
 TaskDefinition nextTask(java.util.Queue<TaskDefinition> tasks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinalizingTaskExecutionStrategy

public FinalizingTaskExecutionStrategy()
Method Detail

hasTasksToExecute

public boolean hasTasksToExecute(java.util.Queue<TaskDefinition> tasks,
                                 @Nullable
                                 TaskResult lastTaskResult)
Specified by:
hasTasksToExecute in interface TaskExecutionStrategy

nextTask

@Nullable
public TaskDefinition nextTask(java.util.Queue<TaskDefinition> tasks)
Specified by:
nextTask in interface TaskExecutionStrategy


Copyright © 2012 Atlassian. All Rights Reserved.