Class CapabilitiesControl
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl<CapabilitiesControl>
-
- com.atlassian.bamboo.testutils.backdoor.CapabilitiesControl
-
public class CapabilitiesControl extends BackdoorControl<CapabilitiesControl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
-
-
Constructor Summary
Constructors Constructor Description CapabilitiesControl(@NotNull BambooEnvironmentData environmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createAgentCapability(long agentId, String key, String value)
void
createEphemeralAgentTemplateCapability(long templateId, String key, String value)
void
createSharedRemoteCapability(String key, String value)
List<RestCapability>
getAgentCapabilities(long agentId)
List<RestCapability>
getServerCapabilities()
void
removeAgentCapability(long agentId, String key)
void
removeServerCapability(String capabilityKey)
void
updateAgentCapability(long agentId, String key, String value)
void
updateEphemeralAgentTemplateCapability(long templateId, String key, String value)
-
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
-
-
-
-
Constructor Detail
-
CapabilitiesControl
public CapabilitiesControl(@NotNull @NotNull BambooEnvironmentData environmentData)
-
-
Method Detail
-
getAgentCapabilities
public List<RestCapability> getAgentCapabilities(long agentId)
-
createEphemeralAgentTemplateCapability
public void createEphemeralAgentTemplateCapability(long templateId, String key, String value)
-
updateEphemeralAgentTemplateCapability
public void updateEphemeralAgentTemplateCapability(long templateId, String key, String value)
-
removeAgentCapability
public void removeAgentCapability(long agentId, String key)
-
getServerCapabilities
public List<RestCapability> getServerCapabilities()
-
removeServerCapability
public void removeServerCapability(String capabilityKey)
-
-