com.atlassian.bamboo.task
Class DefaultTaskExecutionStrategy

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

public class DefaultTaskExecutionStrategy
extends java.lang.Object
implements TaskExecutionStrategy


Constructor Summary
DefaultTaskExecutionStrategy()
           
 
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

DefaultTaskExecutionStrategy

public DefaultTaskExecutionStrategy()
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 © 2011 Atlassian. All Rights Reserved.