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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>>
get(LongTaskId id, Expansion... expansions)
Returns the status of a long-running task.default com.atlassian.util.concurrent.Promise<Optional<LongTaskStatus>>
getStatus(LongTaskId id, Expansion... expansions)
-
-
-
Method Detail
-
get
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> get(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- Returns:
- the long running task with the supplied id
-
getStatus
default com.atlassian.util.concurrent.Promise<Optional<LongTaskStatus>> getStatus(LongTaskId id, Expansion... expansions)
-
-