@Singleton public class BambooLinkedRepositoryExportResource extends Object
Constructor and Description |
---|
BambooLinkedRepositoryExportResource(LinkedRepositoryExportService linkedRepositoryExportService,
RepositoryDefinitionManager repositoryDefinitionManager,
CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager,
BambooPermissionManager bambooPermissionManager,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
exportAllLinkedRepositories()
Export configuration of all linked repositories to YAML format.
|
javax.ws.rs.core.Response |
exportLinkedRepository(long repositoryId,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a linked repository to YAML format
|
javax.ws.rs.core.Response |
exportLinkedRepository(String oidString,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a linked repository to YAML format
|
javax.ws.rs.core.Response |
exportLinkedRepositoryByName(String name,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a linked repository to YAML format
|
public BambooLinkedRepositoryExportResource(LinkedRepositoryExportService linkedRepositoryExportService, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
public javax.ws.rs.core.Response exportAllLinkedRepositories()
public javax.ws.rs.core.Response exportLinkedRepository(long repositoryId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
repositoryId
- linked repository idpublic javax.ws.rs.core.Response exportLinkedRepository(String oidString, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
oid
- linked repository oidpublic javax.ws.rs.core.Response exportLinkedRepositoryByName(String name, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
name
- linked repository nameCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.