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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addCapability
(@Nullable Long configurationId, RestCapability restCapability) createTemplateConfiguration
(@Nullable RestEphemeralAgentTemplate restEphemeralAgentTemplate) javax.ws.rs.core.Response
deleteCapability
(@Nullable Long configurationId, String capabilityKey) javax.ws.rs.core.Response
deleteTemplateConfiguration
(@Nullable Long configurationId) getCapabilities
(@Nullable Long configurationId, PageRequest pageRequest, ExpansionParam expansion, javax.ws.rs.core.UriInfo uriInfo) getTemplateConfiguration
(@Nullable Long configurationId) getTemplateConfigurationsPage
(String filter, PageRequest pageRequest, ExpansionParam expansion, javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
updateCapability
(@Nullable Long configurationId, RestCapability restCapability) updateTemplateConfiguration
(@Nullable Long configurationId, @Nullable RestEphemeralAgentTemplate newEphemeralAgentTemplate)
-
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
-