public class ApplicationLinksControl extends BackdoorControl<ApplicationLinksControl>
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
Constructor and Description |
---|
ApplicationLinksControl(BambooEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
String |
addApplicationLink(String type,
String name,
String url) |
protected com.sun.jersey.api.client.WebResource |
createResource()
Creates the resource that corresponds to the root of the TestKit REST API, using the values returned by
BackdoorControl.getRestModulePath() . |
client, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
public ApplicationLinksControl(BambooEnvironmentData environmentData)
public String addApplicationLink(String type, String name, String url) throws com.opensymphony.webwork.dispatcher.json.JSONException
com.opensymphony.webwork.dispatcher.json.JSONException
protected com.sun.jersey.api.client.WebResource createResource()
BackdoorControl
BackdoorControl.getRestModulePath()
. Note that the created WebResource
has the following properties: Content-Type: application/json
by
default (override with WebResource.type(javax.ws.rs.core.MediaType)
)BackdoorControl.createResourceForPath(java.lang.String)
createResource
in class BackdoorControl<ApplicationLinksControl>
BackdoorControl.createResource()
,
BackdoorControl.getRestModulePath()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.