Class EphemeralAgentTemplateResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.resource.EphemeralAgentTemplateResource
-
public class EphemeralAgentTemplateResource extends Object
-
-
Constructor Summary
Constructors Constructor Description EphemeralAgentTemplateResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addCapability(@Nullable Long configurationId, RestCapability restCapability)
RestEphemeralAgentTemplate
createTemplateConfiguration(@Nullable RestEphemeralAgentTemplate restEphemeralAgentTemplate)
javax.ws.rs.core.Response
deleteCapability(@Nullable Long configurationId, String capabilityKey)
javax.ws.rs.core.Response
deleteTemplateConfiguration(@Nullable Long configurationId)
RestPageModel<RestCapability>
getCapabilities(@Nullable Long configurationId, PageRequest pageRequest, Expansion expansion, javax.ws.rs.core.UriInfo uriInfo)
RestEphemeralAgentTemplate
getTemplateConfiguration(@Nullable Long configurationId)
RestPageModel<RestEphemeralAgentTemplate>
getTemplateConfigurationsPage(String filter, PageRequest pageRequest, Expansion expansion, javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response
updateCapability(@Nullable Long configurationId, RestCapability restCapability)
RestEphemeralAgentTemplate
updateTemplateConfiguration(@Nullable Long configurationId, @Nullable RestEphemeralAgentTemplate newEphemeralAgentTemplate)
-
-
-
Method Detail
-
getTemplateConfigurationsPage
public RestPageModel<RestEphemeralAgentTemplate> getTemplateConfigurationsPage(String filter, @Context PageRequest pageRequest, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo)
-
getTemplateConfiguration
public RestEphemeralAgentTemplate getTemplateConfiguration(@Nullable @Nullable Long configurationId)
-
createTemplateConfiguration
public RestEphemeralAgentTemplate createTemplateConfiguration(@Nullable @Nullable RestEphemeralAgentTemplate restEphemeralAgentTemplate)
-
updateTemplateConfiguration
public RestEphemeralAgentTemplate updateTemplateConfiguration(@Nullable @Nullable Long configurationId, @Nullable @Nullable RestEphemeralAgentTemplate newEphemeralAgentTemplate)
-
deleteTemplateConfiguration
public javax.ws.rs.core.Response deleteTemplateConfiguration(@Nullable @Nullable Long configurationId)
-
getCapabilities
public RestPageModel<RestCapability> getCapabilities(@Nullable @Nullable Long configurationId, @Context PageRequest pageRequest, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
- Throws:
WebValidationException
-
addCapability
public javax.ws.rs.core.Response addCapability(@Nullable @Nullable Long configurationId, RestCapability restCapability) throws WebValidationException
- Throws:
WebValidationException
-
updateCapability
public javax.ws.rs.core.Response updateCapability(@Nullable @Nullable Long configurationId, RestCapability restCapability) throws WebValidationException
- Throws:
WebValidationException
-
-