public abstract class Resource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
apirev |
static String |
DEFAULT_API_REV |
protected String |
id |
protected RestClient |
restclient |
protected String |
self |
| Constructor and Description |
|---|
Resource(RestClient restclient)
Creates a new JIRA resource.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getApiRev()
Gets the JIRA REST API revision number.
|
static String |
getAuthUri()
Resource base URI with API revision number.
|
static String |
getBaseUri()
Resource base URI with API revision number.
|
String |
getId()
Internal JIRA ID.
|
String |
getSelf()
Resource URL.
|
String |
getUrl()
REST API resource URL.
|
static void |
setApiRev(String apirev)
Sets the JIRA REST API revision number.
|
public static final String DEFAULT_API_REV
public static String apirev
protected RestClient restclient
protected String id
protected String self
public Resource(RestClient restclient)
restclient - REST client instancepublic static String getApiRev()
public static void setApiRev(String apirev)
public static String getBaseUri()
public static String getAuthUri()
public String getId()
public String getUrl()
public String getSelf()
Copyright © 2022. All rights reserved.