Package com.atlassian.bamboo.task
Class DefaultTaskExecutionStrategy
java.lang.Object
com.atlassian.bamboo.task.DefaultTaskExecutionStrategy
- All Implemented Interfaces:
TaskExecutionStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasTasksToExecute
(Queue<RuntimeTaskDefinition> tasks, @Nullable TaskResult lastTaskResult) @Nullable RuntimeTaskDefinition
nextTask
(Queue<RuntimeTaskDefinition> tasks)
-
Constructor Details
-
DefaultTaskExecutionStrategy
public DefaultTaskExecutionStrategy()
-
-
Method Details
-
hasTasksToExecute
public boolean hasTasksToExecute(Queue<RuntimeTaskDefinition> tasks, @Nullable @Nullable TaskResult lastTaskResult) - Specified by:
hasTasksToExecute
in interfaceTaskExecutionStrategy
-
nextTask
- Specified by:
nextTask
in interfaceTaskExecutionStrategy
-