com.atlassian.bamboo.testutils.backdoor
Class ApplicationLinksControl

java.lang.Object
  extended by com.atlassian.bamboo.testutils.backdoor.BackdoorControl<ApplicationLinksControl>
      extended by com.atlassian.bamboo.testutils.backdoor.ApplicationLinksControl

public class ApplicationLinksControl
extends BackdoorControl<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

ApplicationLinksControl

public ApplicationLinksControl(BambooEnvironmentData environmentData)
Method Detail

addApplicationLink

public java.lang.String addApplicationLink(java.lang.String type,
                                           java.lang.String name,
                                           java.lang.String url)
                                    throws com.opensymphony.webwork.dispatcher.json.JSONException
Throws:
com.opensymphony.webwork.dispatcher.json.JSONException

createResource

protected com.sun.jersey.api.client.WebResource createResource()
Description copied from class: BackdoorControl
Creates the resource that corresponds to the root of the TestKit REST API, using the values returned by BackdoorControl.getRestModulePath(). Note that the created WebResource has the following properties: . To create a WebResource for a different root, use BackdoorControl.createResource()

Overrides:
createResource in class BackdoorControl<ApplicationLinksControl>
Returns:
a WebResource for the TestKit REST API root
See Also:
BackdoorControl.createResource(), BackdoorControl.getRestModulePath()


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.