|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.testutils.backdoor.BackdoorControl<ApplicationLinksControl> com.atlassian.bamboo.testutils.backdoor.ApplicationLinksControl
public class ApplicationLinksControl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
BackdoorControl.JsonMediaTypeFilter |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
API_REST_PATH, DEFAULT_REST_PATH, rootPath |
Constructor Summary | |
---|---|
ApplicationLinksControl(BambooEnvironmentData environmentData)
|
Method Summary | |
---|---|
java.lang.String |
addApplicationLink(java.lang.String type,
java.lang.String name,
java.lang.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() . |
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
client, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, resourceRoot, resourceRoot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationLinksControl(BambooEnvironmentData environmentData)
Method Detail |
---|
public java.lang.String addApplicationLink(java.lang.String type, java.lang.String name, java.lang.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.createResource()
createResource
in class BackdoorControl<ApplicationLinksControl>
BackdoorControl.createResource()
,
BackdoorControl.getRestModulePath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |