public interface LongTaskService
LongTaskStatus
s.Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<LongTaskStatus> |
get(LongTaskId id,
Expansion... expansions)
Deprecated.
since 6.13.0, use {
getStatus(LongTaskId, Expansion...) } |
PageResponse<LongTaskStatus> |
getAll(PageRequest request,
Expansion... expansions)
Returns the status of all tracked long-running tasks visible to the user.
|
default Optional<LongTaskStatus> |
getStatus(LongTaskId id,
Expansion... expansions)
Returns the status of a long-running task.
|
@Deprecated com.atlassian.fugue.Option<LongTaskStatus> get(LongTaskId id, Expansion... expansions)
getStatus(LongTaskId, Expansion...)
}id
- the identifier of the task to returnexpansions
- additional information about the task returneddefault Optional<LongTaskStatus> getStatus(LongTaskId id, Expansion... expansions)
id
- the identifier of the task to returnexpansions
- additional information about the task returnedPageResponse<LongTaskStatus> getAll(PageRequest request, Expansion... expansions)
request
- defines the page of tasks to be returnedexpansions
- additional information about the tasks returnedCopyright © 2003–2021 Atlassian. All rights reserved.