Package com.atlassian.bamboo.plan.task
Class TaskServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.task.TaskServiceImpl
-
- All Implemented Interfaces:
TaskService
public class TaskServiceImpl extends Object implements TaskService
-
-
Constructor Summary
Constructors Constructor Description TaskServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends TaskContainer>
@NotNull DecoratedTaskDefinition<T>getDecoratedTaskDefinition(T taskContainer, long taskId)
Retrieve aDecoratedTaskDefinition
from a givenTaskContainer
.<T extends TaskContainer>
@NotNull List<DecoratedTaskDefinition<T>>getDecoratedTaskDefinitions(T taskContainer)
Retrieve a list of allDecoratedTaskDefinition
for a givenTaskContainer
.
-
-
-
Method Detail
-
getDecoratedTaskDefinitions
@NotNull public <T extends TaskContainer> @NotNull List<DecoratedTaskDefinition<T>> getDecoratedTaskDefinitions(@NotNull T taskContainer)
Description copied from interface:TaskService
Retrieve a list of allDecoratedTaskDefinition
for a givenTaskContainer
.- Specified by:
getDecoratedTaskDefinitions
in interfaceTaskService
- Parameters:
taskContainer
- the entity for which to retrieve the task definitions.- Returns:
- a list of all converted task definitions.
-
getDecoratedTaskDefinition
@NotNull public <T extends TaskContainer> @NotNull DecoratedTaskDefinition<T> getDecoratedTaskDefinition(@NotNull T taskContainer, long taskId)
Description copied from interface:TaskService
Retrieve aDecoratedTaskDefinition
from a givenTaskContainer
.- Specified by:
getDecoratedTaskDefinition
in interfaceTaskService
- Parameters:
taskContainer
- the entity for which to retrieve the task definition.taskId
- The ID of the task to retrieve.- Returns:
- the converted task definition.
-
-