com.atlassian.jira.rest.v2.issue
Class StatusResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.StatusResource

public class StatusResource
extends Object

Since:
4.2

Constructor Summary
StatusResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusHelper statusHelper)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusResource

public StatusResource(JiraAuthenticationContext authContext,
                      ConstantsService constantsService,
                      StatusHelper statusHelper)
Method Detail

getStatuses

public javax.ws.rs.core.Response getStatuses(@Context
                                             javax.ws.rs.core.Request request,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)
Returns a list of all statuses

Parameters:
request - a Request
uriInfo - a UriInfo
Returns:
a full representation of the Status
Since:
5.0

getStatus

public javax.ws.rs.core.Response getStatus(String idOrName,
                                           @Context
                                           javax.ws.rs.core.Request request,
                                           @Context
                                           javax.ws.rs.core.UriInfo uriInfo)
Returns a full representation of the Status having the given id or name.

Parameters:
idOrName - a numeric Status id or a status name
request - a Request
uriInfo - a UriInfo
Returns:
a full representation of the Status


Copyright © 2002-2013 Atlassian. All Rights Reserved.