Class BambooProjectImportResource


  • @Singleton
    public class BambooProjectImportResource
    extends Object
    • Constructor Detail

      • BambooProjectImportResource

        public BambooProjectImportResource​(com.atlassian.event.api.EventPublisher eventPublisher,
                                           ProjectImportService projectImportService,
                                           BambooAuthenticationContext authenticationContext,
                                           com.atlassian.sal.api.message.I18nResolver i18nResolver)
    • Method Detail

      • importProject

        public javax.ws.rs.core.Response importProject​(@NotNull
                                                       @NotNull String yamlString,
                                                       @Context
                                                       javax.ws.rs.core.HttpHeaders headers,
                                                       @Context
                                                       javax.ws.rs.core.UriInfo uriInfo)
                                                throws WebValidationException
        Import configuration of a project in YAML format.
        Throws:
        WebValidationException
      • importProjectPermissions

        public javax.ws.rs.core.Response importProjectPermissions​(@NotNull
                                                                  @NotNull String yamlString,
                                                                  @Context
                                                                  javax.ws.rs.core.HttpHeaders headers)
                                                           throws WebValidationException
        Import configuration of project permissions in YAML format.
        Throws:
        WebValidationException