|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.rest.client.AbstractRemoteService<LongTaskService> com.atlassian.confluence.rest.client.impl.RemoteLongTaskServiceImpl
public class RemoteLongTaskServiceImpl
LongTaskService
implementation that communicates with Confluence remotely.
Constructor Summary | |
---|---|
RemoteLongTaskServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor)
|
Method Summary | |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> |
get(LongTaskId id,
Expansion... expansions)
Returns the status of a long-running task. |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> |
getStatus(LongTaskSubmission submission)
|
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
---|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteLongTaskServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Method Detail |
---|
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> get(LongTaskId id, Expansion... expansions)
RemoteLongTaskService
get
in interface RemoteLongTaskService
id
- the identifier of the task to returnexpansions
- additional information about the
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> getStatus(LongTaskSubmission submission)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |