@Singleton public class BambooProjectImportResource extends Object
Constructor and Description |
---|
BambooProjectImportResource(com.atlassian.event.api.EventPublisher eventPublisher,
ProjectImportService projectImportService,
BambooAuthenticationContext authenticationContext,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and 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.
|
public BambooProjectImportResource(com.atlassian.event.api.EventPublisher eventPublisher, ProjectImportService projectImportService, BambooAuthenticationContext authenticationContext, com.atlassian.sal.api.message.I18nResolver i18nResolver)
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
WebValidationException
public javax.ws.rs.core.Response importProjectPermissions(@NotNull @NotNull String yamlString, @Context javax.ws.rs.core.HttpHeaders headers) throws WebValidationException
WebValidationException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.