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

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

public class Examples
extends Object

This class holds constants that are

Since:
v4.2

Field Summary
static String JIRA_BASE_URL
          The base URL for the example JIRA instance.
static String REST_BASE_URL
          The base URL for the REST API.
 
Method Summary
static URI jiraURI(String... pathSegments)
          Creates a new URI consisting of the JIRA_BASE_URL followed by the passed-in path segments.
static URI restURI(String... pathSegments)
          Creates a new URI consisting of the REST_BASE_URL followed by the passed-in path segments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JIRA_BASE_URL

public static final String JIRA_BASE_URL
The base URL for the example JIRA instance.

See Also:
Constant Field Values

REST_BASE_URL

public static final String REST_BASE_URL
The base URL for the REST API.

See Also:
Constant Field Values
Method Detail

jiraURI

public static URI jiraURI(String... pathSegments)
Creates a new URI consisting of the JIRA_BASE_URL followed by the passed-in path segments.

Parameters:
pathSegments - the path segments to append
Returns:
a URI
Throws:
IllegalArgumentException - if the passed-in paths are not valid

restURI

public static URI restURI(String... pathSegments)
Creates a new URI consisting of the REST_BASE_URL followed by the passed-in path segments.

Parameters:
pathSegments - the path segments to append
Returns:
a URI
Throws:
IllegalArgumentException - if the passed-in paths are not valid


Copyright © 2002-2014 Atlassian. All Rights Reserved.