Class DefaultCredentialTypeExporter

java.lang.Object
com.atlassian.bamboo.credentials.DefaultCredentialTypeExporter
All Implemented Interfaces:
CredentialTypeExporter

public class DefaultCredentialTypeExporter extends Object implements CredentialTypeExporter
  • Constructor Details

    • DefaultCredentialTypeExporter

      public DefaultCredentialTypeExporter()
  • Method Details

    • 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