Class JobDockerPipelineConfigResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.build.JobDockerPipelineConfigResource
-
@Singleton public class JobDockerPipelineConfigResource extends Object
Resource which allows getting and update Docker configuration for a job.
-
-
Constructor Summary
Constructors Constructor Description JobDockerPipelineConfigResource(DockerPipelineValidationService dockerPipelineValidationService, BuildDefinitionManager buildDefinitionManager, PlanManager planManager, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PlanRestService planRestService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestDockerPipelineConfiguration
getDockerPipelineConfiguration(String jobKey)
javax.ws.rs.core.Response
setDockerPipelineConfiguration(String jobKey, RestDockerPipelineConfiguration dockerPipelineConfiguration)
-
-
-
Constructor Detail
-
JobDockerPipelineConfigResource
@Inject public JobDockerPipelineConfigResource(DockerPipelineValidationService dockerPipelineValidationService, BuildDefinitionManager buildDefinitionManager, PlanManager planManager, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PlanRestService planRestService)
-
-
Method Detail
-
getDockerPipelineConfiguration
public RestDockerPipelineConfiguration getDockerPipelineConfiguration(String jobKey)
-
setDockerPipelineConfiguration
public javax.ws.rs.core.Response setDockerPipelineConfiguration(String jobKey, RestDockerPipelineConfiguration dockerPipelineConfiguration) throws DefaultWebValidationException
- Throws:
DefaultWebValidationException
-
-