public class StatusCategoryResource extends Object
Constructor and Description |
---|
StatusCategoryResource(JiraAuthenticationContext authContext,
ConstantsService constantsService,
StatusCategoryHelper statusCategoryHelper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getStatusCategories(javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a list of all status categories
|
javax.ws.rs.core.Response |
getStatusCategory(String idOrKey,
javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a full representation of the StatusCategory having the given id or key
|
public StatusCategoryResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusCategoryHelper statusCategoryHelper)
public javax.ws.rs.core.Response getStatusCategories(@Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
request
- a RequesturiInfo
- a UriInfopublic javax.ws.rs.core.Response getStatusCategory(String idOrKey, @Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
idOrKey
- a numeric StatusCategory id or a status category keyrequest
- a RequesturiInfo
- a UriInfoCopyright © 2002-2017 Atlassian. All Rights Reserved.