public class StatusCategoryResource extends Object
Constructor and Description |
---|
StatusCategoryResource(JiraAuthenticationContext authContext,
ConstantsService constantsService,
StatusCategoryHelper statusCategoryHelper,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getStatusCategories(javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo,
String requestedWith)
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,
String requestedWith)
Returns a full representation of the StatusCategory having the given id or key
|
public StatusCategoryResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusCategoryHelper statusCategoryHelper, com.atlassian.event.api.EventPublisher eventPublisher)
public javax.ws.rs.core.Response getStatusCategories(@Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo, @HeaderParam(value="X-Requested-With") String requestedWith)
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, @HeaderParam(value="X-Requested-With") String requestedWith)
idOrKey
- a numeric StatusCategory id or a status category keyrequest
- a RequesturiInfo
- a UriInfoCopyright © 2002-2022 Atlassian. All Rights Reserved.