com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class IssueTypeClient

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<IssueTypeClient>
      extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.IssueTypeClient

public class IssueTypeClient
extends RestApiClient<IssueTypeClient>

Client for issue type.

Since:
v4.3

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
IssueTypeClient(JIRAEnvironmentData environmentData)
          Constructs a new IssueTypeClient for a JIRA instance.
 
Method Summary
 List<IssueType> get()
          GETs the issue type with the given id.
 IssueType get(String issueTypeID)
          GETs the issue type with the given id.
 Response getResponse(String issueTypeID)
          GETs the issue type with the given id, returning a Response.
 
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

IssueTypeClient

public IssueTypeClient(JIRAEnvironmentData environmentData)
Constructs a new IssueTypeClient for a JIRA instance.

Parameters:
environmentData - The JIRA environment data
Method Detail

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.