Package com.atlassian.bamboo.credentials
Class DefaultCredentialTypeExporter
- java.lang.Object
-
- com.atlassian.bamboo.credentials.DefaultCredentialTypeExporter
-
- All Implemented Interfaces:
CredentialTypeExporter
public class DefaultCredentialTypeExporter extends Object implements CredentialTypeExporter
-
-
Constructor Summary
Constructors Constructor Description DefaultCredentialTypeExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>toCredentialsConfiguration(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.SharedCredentialstoSpecsEntity(@NotNull CredentialsData credentialData)Exports the supplied credentials data and credential configuration to a credential type-specific properties.
-
-
-
Method Detail
-
toCredentialsConfiguration
public Map<String,String> toCredentialsConfiguration(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
Description copied from interface:CredentialTypeExporterConverts properties object received from importer to Bamboo credentials configuration. The method should throw if source data is invalid.- Specified by:
toCredentialsConfigurationin interfaceCredentialTypeExporter
-
toSpecsEntity
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity(@NotNull @NotNull CredentialsData credentialData)Description copied from interface:CredentialTypeExporterExports the supplied credentials data and credential configuration to a credential type-specific properties.- Specified by:
toSpecsEntityin interfaceCredentialTypeExporter
-
-