public interface RemoteLongTaskService
LongTaskService
implementation that communicates with Confluence remotely using the Confluence REST API.
Provides Promise-returning equivalents for the methods in LongTaskService.
Modifier and Type | Method and 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) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> get(LongTaskId id, Expansion... expansions)
id
- the identifier of the task to returnexpansions
- additional information about thedefault com.atlassian.util.concurrent.Promise<Optional<LongTaskStatus>> getStatus(LongTaskId id, Expansion... expansions)
Copyright © 2003–2021 Atlassian. All rights reserved.