Class BambooDeploymentImportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooDeploymentImportResource
-
@Singleton public class BambooDeploymentImportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooDeploymentImportResource(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooAuthenticationContext authenticationContext, DeploymentImportService deploymentImportService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
importDeploymentPermission(@NotNull String yaml, javax.ws.rs.core.HttpHeaders headers)
Import configuration of deployment permission in YAML format.javax.ws.rs.core.Response
importDeploymentProject(@NotNull String yamlString, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
Import configuration of a deployment project in YAML format.javax.ws.rs.core.Response
importEnvironmentPermission(@NotNull String yaml, javax.ws.rs.core.HttpHeaders headers)
Import configuration of environment permission in YAML format.
-
-
-
Constructor Detail
-
BambooDeploymentImportResource
public BambooDeploymentImportResource(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooAuthenticationContext authenticationContext, DeploymentImportService deploymentImportService)
-
-
Method Detail
-
importDeploymentProject
public javax.ws.rs.core.Response importDeploymentProject(@NotNull @NotNull String yamlString, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
Import configuration of a deployment project in YAML format.- Throws:
WebValidationException
-
importDeploymentPermission
public javax.ws.rs.core.Response importDeploymentPermission(@NotNull @NotNull String yaml, @Context javax.ws.rs.core.HttpHeaders headers) throws WebValidationException
Import configuration of deployment permission in YAML format.- Throws:
WebValidationException
-
importEnvironmentPermission
public javax.ws.rs.core.Response importEnvironmentPermission(@NotNull @NotNull String yaml, @Context javax.ws.rs.core.HttpHeaders headers) throws WebValidationException
Import configuration of environment permission in YAML format.- Throws:
WebValidationException
-
-