Class EphemeralAgentTemplateResource

java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.EphemeralAgentTemplateResource

@Path("ephemeral/templateConfiguration") @Produces("application/json") @Consumes("application/json") public class EphemeralAgentTemplateResource extends Object
  • Constructor Details

    • EphemeralAgentTemplateResource

      public EphemeralAgentTemplateResource()
  • Method Details

    • getTemplateConfigurationsPage

      @GET public RestPageModel<RestEphemeralAgentTemplate> getTemplateConfigurationsPage(@QueryParam("filter") @DefaultValue("") String filter, @BeanParam PageRequest pageRequest, @BeanParam ExpansionParam expansion, @Context javax.ws.rs.core.UriInfo uriInfo)
    • getTemplateConfiguration

      @GET @Path("/{configurationId}") public RestEphemeralAgentTemplate getTemplateConfiguration(@PathParam("configurationId") @Nullable @Nullable Long configurationId)
    • createTemplateConfiguration

      @POST public RestEphemeralAgentTemplate createTemplateConfiguration(@Nullable @Nullable RestEphemeralAgentTemplate restEphemeralAgentTemplate)
    • updateTemplateConfiguration

      @PUT @Path("/{configurationId}") public RestEphemeralAgentTemplate updateTemplateConfiguration(@PathParam("configurationId") @Nullable @Nullable Long configurationId, @Nullable @Nullable RestEphemeralAgentTemplate newEphemeralAgentTemplate)
    • deleteTemplateConfiguration

      @DELETE @Path("/{configurationId}") public javax.ws.rs.core.Response deleteTemplateConfiguration(@PathParam("configurationId") @Nullable @Nullable Long configurationId)
    • getCapabilities

      @GET @Path("/{configurationId}/capability") public RestPageModel<RestCapability> getCapabilities(@PathParam("configurationId") @Nullable @Nullable Long configurationId, @BeanParam PageRequest pageRequest, @BeanParam ExpansionParam expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
      Throws:
      WebValidationException
    • addCapability

      @POST @Path("/{configurationId}/capability") public javax.ws.rs.core.Response addCapability(@PathParam("configurationId") @Nullable @Nullable Long configurationId, RestCapability restCapability) throws WebValidationException
      Throws:
      WebValidationException
    • updateCapability

      @PUT @Path("/{configurationId}/capability") public javax.ws.rs.core.Response updateCapability(@PathParam("configurationId") @Nullable @Nullable Long configurationId, RestCapability restCapability) throws WebValidationException
      Throws:
      WebValidationException
    • deleteCapability

      @DELETE @Path("/{configurationId}/capability/{name : (.+)?}") public javax.ws.rs.core.Response deleteCapability(@PathParam("configurationId") @Nullable @Nullable Long configurationId, @PathParam("name") String capabilityKey)