Class LongTaskServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.longtasks.LongTaskServiceImpl
- All Implemented Interfaces:
LongTaskService
Default implementation of
LongTaskService
, a shallow wrapper for LongRunningTaskManager
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll
(PageRequest request, Expansion... expansions) Returns the status of all tracked long-running tasks visible to the user.getStatus
(LongTaskId id, Expansion... expansions) Returns the status of a long-running task.
-
Constructor Details
-
LongTaskServiceImpl
-
-
Method Details
-
getStatus
Description copied from interface:LongTaskService
Returns the status of a long-running task.- Specified by:
getStatus
in interfaceLongTaskService
- Parameters:
id
- the identifier of the task to returnexpansions
- additional information about the task returned- Returns:
- the long running task with the supplied id
-
getAll
Description copied from interface:LongTaskService
Returns the status of all tracked long-running tasks visible to the user.- Specified by:
getAll
in interfaceLongTaskService
- Parameters:
request
- defines the page of tasks to be returnedexpansions
- additional information about the tasks returned- Returns:
- the currently-tracked long running tasks
-