Class ServerCapabilitiesResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.administration.ServerCapabilitiesResource
@Path("administration/capabilities/server")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class ServerCapabilitiesResource
extends Object
-
Constructor Summary
ConstructorDescriptionServerCapabilitiesResource
(CapabilitySetManager capabilitySetManager, CapabilityDefaultsHelper capabilityDefaultsHelper) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createSharedCapability
(javax.ws.rs.core.UriInfo uriInfo, RestCapability capability) javax.ws.rs.core.Response
deleteSharedCapability
(String capabilityKey) javax.ws.rs.core.Response
javax.ws.rs.core.Response
Get all server capabilitiesjavax.ws.rs.core.Response
Get specific server capabilityjavax.ws.rs.core.Response
Clear and reset the existing capabilities.
-
Constructor Details
-
ServerCapabilitiesResource
@Inject public ServerCapabilitiesResource(CapabilitySetManager capabilitySetManager, CapabilityDefaultsHelper capabilityDefaultsHelper)
-
-
Method Details
-
path
Get specific server capability- Parameters:
key
- e.g. system.git.executable- Returns:
- capability