public class RestSupport extends BaseJiraWebTest
Modifier and Type | Class and Description |
---|---|
static class |
RestSupport.JsonOrStatusCode |
protected class |
RestSupport.RestClient |
Modifier and Type | Field and Description |
---|---|
protected String |
BaseRestUrl
Base URL for all servicedesk plugin rest urls
|
protected static org.codehaus.jackson.map.ObjectMapper |
OBJECT_MAPPER |
protected RestSupport.RestClient |
rest
Gives you access to REST resources
|
protected com.atlassian.jira.rest.client.api.JiraRestClient |
restClient |
protected static com.atlassian.jira.testkit.client.Backdoor |
testkit |
protected String |
ViewBaseRestUrl |
jiraWebTestClassRules, webTestRule
backdoor, jira, logger, mailHelper, pageBinder
Constructor and Description |
---|
RestSupport() |
Modifier and Type | Method and Description |
---|---|
<T> T |
convert(org.codehaus.jackson.JsonNode node,
Class<T> clazz) |
getBackdoor, getBaseClassRule, getBaseRule
protected final String BaseRestUrl
protected final String ViewBaseRestUrl
protected static com.atlassian.jira.testkit.client.Backdoor testkit
protected com.atlassian.jira.rest.client.api.JiraRestClient restClient
protected static org.codehaus.jackson.map.ObjectMapper OBJECT_MAPPER
protected RestSupport.RestClient rest
public RestSupport() throws URISyntaxException
URISyntaxException
public <T> T convert(org.codehaus.jackson.JsonNode node, Class<T> clazz)
Copyright © 2002-2021 Atlassian. All Rights Reserved.