|
||||||||||
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<PriorityClient> com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.PriorityClient
public class PriorityClient
TODO: Document this class / interface here
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 | |
---|---|
PriorityClient(JIRAEnvironmentData environmentData)
Constructs a new PriorityClient for a JIRA instance. |
Method Summary | |
---|---|
List<Priority> |
get()
GETs all priorities |
Priority |
get(String priorityID)
GETs the priority with the given ID. |
Response |
getResponse(String priorityID)
GETs the priority with the given ID, returning a Response object. |
protected com.sun.jersey.api.client.WebResource |
priority()
Returns a WebResource for priorities. |
protected com.sun.jersey.api.client.WebResource |
priorityWithID(String priorityID)
Returns a WebResource for the priority 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 PriorityClient(JIRAEnvironmentData environmentData)
environmentData
- The JIRA environment dataMethod Detail |
---|
public List<Priority> get() throws com.sun.jersey.api.client.UniformInterfaceException
com.sun.jersey.api.client.UniformInterfaceException
- if anything goes wrongpublic Priority get(String priorityID) throws com.sun.jersey.api.client.UniformInterfaceException
priorityID
- a String containing a priority ID
com.sun.jersey.api.client.UniformInterfaceException
- if anything goes wrongpublic Response getResponse(String priorityID)
priorityID
- a String containing a priority ID
protected com.sun.jersey.api.client.WebResource priority()
protected com.sun.jersey.api.client.WebResource priorityWithID(String priorityID)
priorityID
- a String containing a priority ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |