public class

Examples

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.issue.Examples

Class Overview

This class holds constants that are

Summary

Constants
String JIRA_BASE_URL The base URL for the example JIRA instance.
String REST_BASE_URL The base URL for the REST API.
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String JIRA_BASE_URL

The base URL for the example JIRA instance.

Constant Value: "http://www.example.com/jira"

public static final String REST_BASE_URL

The base URL for the REST API.

Constant Value: "http://www.example.com/jira/rest/api/2"

Public Methods

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

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