@ExperimentalApi
public interface CredentialTypeExporter
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.
|
Map<String,Object> toDataMapConfiguration(Map<String,String> credentialsConfig)
Map<String,String> toCredentialsConfiguration(SharedCredentialsProperties entityProperties) throws YamlValidationException
YamlValidationException
List<ValidationProblem> validate(Map<String,String> credentialsConfig)
SharedCredentialsProperties toEntityProperties(AnySharedCredentials sharedCredentialsBuilder, Map<String,Object> dataMap) throws YamlValidationException
YamlValidationException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.