public class StatusResource extends Object
Constructor and Description |
---|
StatusResource(JiraAuthenticationContext authContext,
ConstantsService constantsService,
StatusHelper statusHelper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getStatus(String idOrName,
javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a full representation of the Status having the given id or name.
|
javax.ws.rs.core.Response |
getStatuses(javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a list of all statuses
|
public StatusResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusHelper statusHelper)
public javax.ws.rs.core.Response getStatuses(@Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
request
- a RequesturiInfo
- a UriInfopublic javax.ws.rs.core.Response getStatus(String idOrName, @Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
idOrName
- a numeric Status id or a status namerequest
- a RequesturiInfo
- a UriInfoCopyright © 2002-2017 Atlassian. All Rights Reserved.