public class LongTaskServiceImpl extends Object implements LongTaskService
LongTaskService
, a shallow wrapper for LongRunningTaskManager
.Constructor and Description |
---|
LongTaskServiceImpl(LongRunningTaskManagerInternal longRunningTaskManager) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<LongTaskStatus> |
get(LongTaskId id,
Expansion... expansions)
Returns the status of a long-running task.
|
PageResponse<LongTaskStatus> |
getAll(PageRequest request,
Expansion... expansions)
Returns the status of all tracked long-running tasks visible to the user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
public LongTaskServiceImpl(LongRunningTaskManagerInternal longRunningTaskManager)
public com.atlassian.fugue.Option<LongTaskStatus> get(LongTaskId id, Expansion... expansions)
LongTaskService
get
in interface LongTaskService
id
- the identifier of the task to returnexpansions
- additional information about the task returnedpublic PageResponse<LongTaskStatus> getAll(PageRequest request, Expansion... expansions)
LongTaskService
getAll
in interface LongTaskService
request
- defines the page of tasks to be returnedexpansions
- additional information about the tasks returnedCopyright © 2003–2018 Atlassian. All rights reserved.