Class BambooProjectImportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooProjectImportResource
-
@Singleton public class BambooProjectImportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooProjectImportResource(com.atlassian.event.api.EventPublisher eventPublisher, ProjectImportService projectImportService, BambooAuthenticationContext authenticationContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
importProject(@NotNull String yamlString, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
Import configuration of a project in YAML format.javax.ws.rs.core.Response
importProjectPermissions(@NotNull String yamlString, javax.ws.rs.core.HttpHeaders headers)
Import configuration of project permissions in YAML format.
-
-
-
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
-
-