Class BambooDeploymentImportResource


  • @Singleton
    public class BambooDeploymentImportResource
    extends Object
    • 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