Interface RemoteLongTaskService
- All Known Implementing Classes:
RemoteLongTaskServiceImpl
public interface RemoteLongTaskService
LongTaskService
implementation that communicates with Confluence remotely using the Confluence REST API.
Provides Promise-returning equivalents for the methods in LongTaskService.
-
Method Summary
Modifier and TypeMethodDescriptiongetStatusCompletionStage
(LongTaskId id, Expansion... expansions) Returns the status of a long-running task.
-
Method Details
-
getStatusCompletionStage
CompletionStage<Optional<LongTaskStatus>> getStatusCompletionStage(LongTaskId id, Expansion... expansions) Returns the status of a long-running task.- Parameters:
id
- the identifier of the task to returnexpansions
- additional information about the task- Returns:
- the long-running task with the supplied id
- Since:
- 9.0 8.7
-