com.atlassian.confluence.api.service.longtasks
Interface LongTaskService

All Known Implementing Classes:
LongTaskServiceImpl

public interface LongTaskService

Manages LongTaskStatuss.


Method Summary
 com.atlassian.fugue.Option<LongTaskStatus> get(LongTaskId id, Expansion... expansions)
          Returns the status of a long-running task.
 PageResponse<LongTaskStatus> getAll(PageRequest request, Expansion... expansions)
          Returns the status of all tracked long-running tasks visible to the user.
 

Method Detail

get

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 return
expansions - additional information about the task returned
Returns:
the long running task with the supplied id

getAll

PageResponse<LongTaskStatus> getAll(PageRequest request,
                                    Expansion... expansions)
Returns the status of all tracked long-running tasks visible to the user.

Parameters:
request - defines the page of tasks to be returned
expansions - additional information about the tasks returned
Returns:
the currently-tracked long running tasks


Copyright © 2003-2014 Atlassian. All Rights Reserved.