Package com.atlassian.bamboo.plan.task
Class TaskServiceImpl
java.lang.Object
com.atlassian.bamboo.plan.task.TaskServiceImpl
- All Implemented Interfaces:
TaskService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<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
.
-
Constructor Details
-
TaskServiceImpl
public TaskServiceImpl()
-
-
Method Details
-
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.
-