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. | 
public LongTaskServiceImpl(LongRunningTaskManagerInternal longRunningTaskManager)
public com.atlassian.fugue.Option<LongTaskStatus> get(LongTaskId id, Expansion... expansions)
LongTaskServiceget in interface LongTaskServiceid - the identifier of the task to returnexpansions - additional information about the task returnedpublic PageResponse<LongTaskStatus> getAll(PageRequest request, Expansion... expansions)
LongTaskServicegetAll in interface LongTaskServicerequest - defines the page of tasks to be returnedexpansions - additional information about the tasks returnedCopyright © 2003–2017 Atlassian. All rights reserved.