Class BambooRepositoryImportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooRepositoryImportResource
-
@Singleton public class BambooRepositoryImportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooRepositoryImportResource(RepositoryExportService repositoryExportService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooAuthenticationContext authenticationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
importRepository(@NotNull String yamlString, javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo)
Import configuration of a linked repository in YAML format.
-
-
-
Constructor Detail
-
BambooRepositoryImportResource
public BambooRepositoryImportResource(RepositoryExportService repositoryExportService, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooAuthenticationContext authenticationContext)
-
-
Method Detail
-
importRepository
public javax.ws.rs.core.Response importRepository(@NotNull @NotNull String yamlString, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
Import configuration of a linked repository in YAML format. Request payload contains YAML with import data.- Throws:
WebValidationException
-
-