public class DefaultCredentialTypeExporter extends Object implements CredentialTypeExporter
Constructor and Description |
---|
DefaultCredentialTypeExporter() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
toCredentialsConfiguration(SharedCredentialsProperties entityProperties)
Converts map got from importer to Bamboo credentials configuration
|
Map<String,Object> |
toDataMapConfiguration(Map<String,String> credentialsConfig)
Converts Bamboo credentials configuration to configuration map used in exporter
|
SharedCredentialsProperties |
toEntityProperties(AnySharedCredentials sharedCredentialsBuilder,
Map<String,Object> dataMap)
Converts the supplied builder and addtional configuration to a credential type-specific properties.
|
List<ValidationProblem> |
validate(Map<String,String> credentialsConfig)
Validates configuration.
|
public Map<String,Object> toDataMapConfiguration(Map<String,String> credentialsConfig)
CredentialTypeExporter
toDataMapConfiguration
in interface CredentialTypeExporter
public Map<String,String> toCredentialsConfiguration(SharedCredentialsProperties entityProperties)
CredentialTypeExporter
toCredentialsConfiguration
in interface CredentialTypeExporter
public List<ValidationProblem> validate(Map<String,String> credentialsConfig)
CredentialTypeExporter
validate
in interface CredentialTypeExporter
public SharedCredentialsProperties toEntityProperties(AnySharedCredentials sharedCredentialsBuilder, Map<String,Object> dataMap)
CredentialTypeExporter
toEntityProperties
in interface CredentialTypeExporter
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.