Interface CredentialTypeExporter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NotNull Map<String,​String> toCredentialsConfiguration​(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
      Converts properties object received from importer to Bamboo credentials configuration.
      @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity​(@NotNull CredentialsData credentialsData)
      Exports the supplied credentials data and credential configuration to a credential type-specific properties.
    • Method Detail

      • toCredentialsConfiguration

        @NotNull
        @NotNull Map<String,​String> toCredentialsConfiguration​(@NotNull
                                                                     @NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
                                                              throws YamlValidationException
        Converts properties object received from importer to Bamboo credentials configuration. The method should throw if source data is invalid.
        Throws:
        YamlValidationException
      • toSpecsEntity

        @NotNull
        @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity​(@NotNull
                                                                                                     @NotNull CredentialsData credentialsData)
        Exports the supplied credentials data and credential configuration to a credential type-specific properties.