Class Examples

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

public class Examples extends Object
This class holds constants that are
Since:
v4.2
  • Field Details

  • Method Details

    • 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