@Internal public class DefaultTaskExecutionStrategy extends Object implements TaskExecutionStrategy
Constructor and Description |
---|
DefaultTaskExecutionStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasTasksToExecute(Queue<RuntimeTaskDefinition> tasks,
TaskResult lastTaskResult) |
RuntimeTaskDefinition |
nextTask(Queue<RuntimeTaskDefinition> tasks) |
public boolean hasTasksToExecute(Queue<RuntimeTaskDefinition> tasks, @Nullable TaskResult lastTaskResult)
hasTasksToExecute
in interface TaskExecutionStrategy
@Nullable public RuntimeTaskDefinition nextTask(Queue<RuntimeTaskDefinition> tasks)
nextTask
in interface TaskExecutionStrategy
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.