com.atlassian.bamboo.plugins.testutils.rest.resource.agent
Class AgentResource

java.lang.Object
  extended by com.atlassian.bamboo.plugins.testutils.rest.resource.agent.AgentResource

@Singleton
public class AgentResource
extends Object


Constructor Summary
AgentResource(AgentManager agentManager)
           
 
Method Summary
 RestAgent createLocalAgent()
          Creates a local agent with default configuration and a random name.
 javax.ws.rs.core.Response deleteAgent(long agentId)
          Deletes an agent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentResource

public AgentResource(AgentManager agentManager)
Method Detail

createLocalAgent

public RestAgent createLocalAgent()
                           throws Exception
Creates a local agent with default configuration and a random name.

Throws:
Exception

deleteAgent

public javax.ws.rs.core.Response deleteAgent(long agentId)
                                      throws Exception
Deletes an agent.

Throws:
Exception


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.