@PublicApi
public interface TaskService
Modifier and Type | Method and Description |
---|---|
<T extends TaskContainer> |
getDecoratedTaskDefinition(T taskContainer,
long taskId)
Retrieve a
DecoratedTaskDefinition from a given TaskContainer . |
<T extends TaskContainer> |
getDecoratedTaskDefinitions(T taskContainer)
Retrieve a list of all
DecoratedTaskDefinition for a given TaskContainer . |
@NotNull <T extends TaskContainer> List<DecoratedTaskDefinition<T>> getDecoratedTaskDefinitions(@NotNull T taskContainer)
DecoratedTaskDefinition
for a given TaskContainer
.taskContainer
- the entity for which to retrieve the task definitions.@NotNull <T extends TaskContainer> DecoratedTaskDefinition<T> getDecoratedTaskDefinition(@NotNull T taskContainer, long taskId)
DecoratedTaskDefinition
from a given TaskContainer
.taskContainer
- the entity for which to retrieve the task definition.taskId
- The ID of the task to retrieve.NotFoundException
- if the task doesn't exist.Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.