Class DefaultCredentialTypeExporter

    • Constructor Detail

      • DefaultCredentialTypeExporter

        public DefaultCredentialTypeExporter()
    • Method Detail

      • toCredentialsConfiguration

        public Map<String,​String> toCredentialsConfiguration​(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
        Description copied from interface: CredentialTypeExporter
        Converts properties object received from importer to Bamboo credentials configuration. The method should throw if source data is invalid.
        Specified by:
        toCredentialsConfiguration in interface CredentialTypeExporter
      • toSpecsEntity

        @NotNull
        public @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity​(@NotNull
                                                                                                            @NotNull CredentialsData credentialData)
        Description copied from interface: CredentialTypeExporter
        Exports the supplied credentials data and credential configuration to a credential type-specific properties.
        Specified by:
        toSpecsEntity in interface CredentialTypeExporter