Class JobDockerPipelineConfigResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.build.JobDockerPipelineConfigResource
@Path("job/{jobKey}")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class JobDockerPipelineConfigResource
extends Object
Resource which allows getting and update Docker configuration for a job.
-
Constructor Summary
ConstructorDescriptionJobDockerPipelineConfigResource
(DockerPipelineValidationService dockerPipelineValidationService, BuildDefinitionManager buildDefinitionManager, PlanManager planManager, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PlanRestService planRestService) -
Method Summary
Modifier and TypeMethodDescriptiongetDockerPipelineConfiguration
(String jobKey) javax.ws.rs.core.Response
setDockerPipelineConfiguration
(String jobKey, RestDockerPipelineConfiguration dockerPipelineConfiguration)
-
Constructor Details
-
JobDockerPipelineConfigResource
@Inject public JobDockerPipelineConfigResource(DockerPipelineValidationService dockerPipelineValidationService, BuildDefinitionManager buildDefinitionManager, PlanManager planManager, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PlanRestService planRestService)
-
-
Method Details
-
getDockerPipelineConfiguration
@Path("docker") @GET public RestDockerPipelineConfiguration getDockerPipelineConfiguration(@PathParam("jobKey") String jobKey) -
setDockerPipelineConfiguration
@Path("docker") @PUT public javax.ws.rs.core.Response setDockerPipelineConfiguration(@PathParam("jobKey") String jobKey, RestDockerPipelineConfiguration dockerPipelineConfiguration) throws DefaultWebValidationException - Throws:
DefaultWebValidationException
-