@Singleton public class JobDockerPipelineConfigResource extends Object
Constructor and Description |
---|
JobDockerPipelineConfigResource(DockerPipelineValidationService dockerPipelineValidationService,
BuildDefinitionManager buildDefinitionManager,
PlanManager planManager,
BambooPermissionManager bambooPermissionManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
PlanRestService planRestService) |
Modifier and Type | Method and Description |
---|---|
RestDockerPipelineConfiguration |
getDockerPipelineConfiguration(String jobKey)
Retrieves Docker configuration for given job.
|
javax.ws.rs.core.Response |
setDockerPipelineConfiguration(String jobKey,
RestDockerPipelineConfiguration dockerPipelineConfiguration)
Updates Docker configuration for given job.
|
@Inject public JobDockerPipelineConfigResource(DockerPipelineValidationService dockerPipelineValidationService, BuildDefinitionManager buildDefinitionManager, PlanManager planManager, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PlanRestService planRestService)
public RestDockerPipelineConfiguration getDockerPipelineConfiguration(String jobKey)
jobKey
- Key of the jobpublic javax.ws.rs.core.Response setDockerPipelineConfiguration(String jobKey, @RequestBody RestDockerPipelineConfiguration dockerPipelineConfiguration) throws DefaultWebValidationException
jobKey
- Key of the jobDefaultWebValidationException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.