com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class IssueTypeClient
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<IssueTypeClient>
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.IssueTypeClient
public class IssueTypeClient
- extends RestApiClient<IssueTypeClient>
Client for issue type.
- Since:
- v4.3
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 |
IssueTypeClient
public IssueTypeClient(JIRAEnvironmentData environmentData)
- Constructs a new IssueTypeClient for a JIRA instance.
- Parameters:
environmentData
- The JIRA environment data
get
public List<IssueType> get()
throws com.sun.jersey.api.client.UniformInterfaceException
- GETs the issue type with the given id.
- Returns:
- an IssueType
- Throws:
com.sun.jersey.api.client.UniformInterfaceException
- if there is a problem getting the issue type
get
public IssueType get(String issueTypeID)
throws com.sun.jersey.api.client.UniformInterfaceException
- GETs the issue type with the given id.
- Parameters:
issueTypeID
- a String containing the issue type id
- Returns:
- an IssueType
- Throws:
com.sun.jersey.api.client.UniformInterfaceException
- if there is a problem getting the issue type
getResponse
public Response getResponse(String issueTypeID)
- GETs the issue type with the given id, returning a Response.
- Parameters:
issueTypeID
- a String containing the issue type id
- Returns:
- a Response
Copyright © 2002-2012 Atlassian. All Rights Reserved.