com.atlassian.confluence.rest.client.impl
Class RemoteLongTaskServiceImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<LongTaskService>
com.atlassian.confluence.rest.client.impl.RemoteLongTaskServiceImpl
- All Implemented Interfaces:
- RemoteLongTaskService
public class RemoteLongTaskServiceImpl
- extends AbstractRemoteService<LongTaskService>
- implements RemoteLongTaskService
LongTaskService
implementation that communicates with Confluence remotely.
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, 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 |
RemoteLongTaskServiceImpl
public RemoteLongTaskServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor)
get
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> get(LongTaskId id,
Expansion... expansions)
- Description copied from interface:
RemoteLongTaskService
- Returns the status of a long-running task.
- Specified by:
get
in interface RemoteLongTaskService
- Parameters:
id
- the identifier of the task to returnexpansions
- additional information about the
- Returns:
- the long running task with the supplied id
getStatus
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> getStatus(LongTaskSubmission submission)
Copyright © 2003–2015 Atlassian. All rights reserved.