public class LongTaskResource extends Object
Constructor and Description |
---|
LongTaskResource(LongTaskService longTaskService) |
Modifier and Type | Method and Description |
---|---|
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.
|
public LongTaskResource(LongTaskService longTaskService)
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 tasksServiceException
@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 taskServiceException
public static javax.ws.rs.core.Response submissionResponse(LongTaskSubmission taskSubmission)
Copyright © 2003–2017 Atlassian. All rights reserved.