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 Details

  • Method Details

    • getAllSharedCapabilities

      @GET public javax.ws.rs.core.Response getAllSharedCapabilities()
      Get all server capabilities
    • createSharedCapability

      @POST public javax.ws.rs.core.Response createSharedCapability(@Context javax.ws.rs.core.UriInfo uriInfo, RestCapability capability)
    • deleteSharedCapability

      @DELETE @Path("{capabilityKey}") public javax.ws.rs.core.Response deleteSharedCapability(@PathParam("capabilityKey") String capabilityKey)
    • redetectSharedCapabilities

      @Path("redetectSharedCapabilities") @POST public javax.ws.rs.core.Response redetectSharedCapabilities()
      Clear and reset the existing capabilities.
    • detectSharedCapabilities

      @Path("detectSharedCapabilities") @POST public javax.ws.rs.core.Response detectSharedCapabilities()
    • path

      @Path("{key}") @GET public javax.ws.rs.core.Response path(@PathParam("key") String key)
      Get specific server capability
      Parameters:
      key - e.g. system.git.executable
      Returns:
      capability