|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.plugins.restapi.resources.LongTaskResource
public class LongTaskResource
REST wrapper for the LongTaskService.
| Constructor Summary | |
|---|---|
LongTaskResource(LongTaskService longTaskService)
|
|
| Method Summary | |
|---|---|
LongTaskStatus |
getTask(String idStr,
String expand)
Returns information about a long-running task. |
RestList<LongTaskStatus> |
getTasks(String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns information about all tracked long-running tasks. |
static javax.ws.rs.core.Response |
submissionResponse(LongTaskSubmission taskSubmission)
Produce a HTTP Accept 202 response from some other resource pointing to this class's LongTaskStatus resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongTaskResource(LongTaskService longTaskService)
| Method Detail |
|---|
public RestList<LongTaskStatus> getTasks(String expand,
int start,
int limit,
@Context
javax.ws.rs.core.UriInfo uriInfo)
Returns information about all tracked long-running tasks.
expand - a comma separated list of properties to expand on the tasks
ServiceException
@PublicApi
public LongTaskStatus getTask(String idStr,
String expand)
Returns information about a long-running task.
idStr - the key of the task to be returnedexpand - a comma separated list of properties to expand on the task
ServiceExceptionpublic static javax.ws.rs.core.Response submissionResponse(LongTaskSubmission taskSubmission)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||