Class BambooLinkedRepositoryExportResource


  • @Singleton
    public class BambooLinkedRepositoryExportResource
    extends Object
    • Method Detail

      • exportAllLinkedRepositories

        public javax.ws.rs.core.Response exportAllLinkedRepositories()
        Export configuration of all linked repositories to YAML format.
        Returns:
        json array of paths to all updated files
      • exportLinkedRepository

        public javax.ws.rs.core.Response exportLinkedRepository​(long repositoryId,
                                                                @Context
                                                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Export configuration of a linked repository to YAML format
        Parameters:
        repositoryId - linked repository id
        Returns:
        json array of paths to all updated files
      • exportLinkedRepository

        public javax.ws.rs.core.Response exportLinkedRepository​(String oidString,
                                                                @Context
                                                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Export configuration of a linked repository to YAML format
        Parameters:
        oid - linked repository oid
        Returns:
        json array of paths to all updated files
      • exportLinkedRepositoryByName

        public javax.ws.rs.core.Response exportLinkedRepositoryByName​(String name,
                                                                      @Context
                                                                      com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
        Export configuration of a linked repository to YAML format
        Parameters:
        name - linked repository name
        Returns:
        json array of paths to all updated files