|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<StatusClient> com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.StatusClient
public class StatusClient
Client for the status resource.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
---|
RestApiClient.Method |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
---|
REST_VERSION |
Constructor Summary | |
---|---|
StatusClient(JIRAEnvironmentData environmentData)
Constructs a new StatusClient for a JIRA instance. |
Method Summary | |
---|---|
List<Status> |
get()
GETs all statuses |
Status |
get(String statusID)
GETs the status with the given id. |
Response |
getResponse(String statusID)
GETs the status with the given id, returning a Response object. |
protected com.sun.jersey.api.client.WebResource |
status()
Returns a WebResource for the all status. |
protected com.sun.jersey.api.client.WebResource |
statusWithID(String statusID)
Returns a WebResource for the status having the given id. |
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
---|
anonymous, createResource, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatusClient(JIRAEnvironmentData environmentData)
environmentData
- The JIRA environment dataMethod Detail |
---|
public Status get(String statusID) throws com.sun.jersey.api.client.UniformInterfaceException
statusID
- a String containing the status id
com.sun.jersey.api.client.UniformInterfaceException
- if there's a problem getting the statuspublic List<Status> get() throws com.sun.jersey.api.client.UniformInterfaceException
com.sun.jersey.api.client.UniformInterfaceException
- if there's a problem getting the statuspublic Response getResponse(String statusID)
statusID
- a String containing the status id
protected com.sun.jersey.api.client.WebResource status()
protected com.sun.jersey.api.client.WebResource statusWithID(String statusID)
statusID
- a String containing the status id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |