com.atlassian.bamboo.plugins.testutils.rest.resource.agent
Class AgentResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.agent.AgentResource
@Singleton
public class AgentResource
- extends Object
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 |
AgentResource
public AgentResource(AgentManager agentManager)
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.