Class BambooCredentialsExportResource


  • @Singleton
    public class BambooCredentialsExportResource
    extends Object
    • Method Detail

      • exportAllCredentials

        public javax.ws.rs.core.Response exportAllCredentials()
        Export configuration of all shared credentials to YAML format.
        Returns:
        json array of paths to all updated files
      • exportCredentials

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

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

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