public class Examples extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
public static final String JIRA_BASE_URL
public static final String REST_BASE_URL
public static URI jiraURI(String... pathSegments)
JIRA_BASE_URL
followed by the passed-in path segments.pathSegments
- the path segments to appendIllegalArgumentException
- if the passed-in paths are not validpublic static URI restURI(String... pathSegments)
REST_BASE_URL
followed by the passed-in path segments.pathSegments
- the path segments to appendIllegalArgumentException
- if the passed-in paths are not validCopyright © 2002-2024 Atlassian. All Rights Reserved.