public class SshCredentialTypeExporter extends Object implements CredentialTypeExporter
Constructor and Description |
---|
SshCredentialTypeExporter(com.atlassian.struts.TextProvider textProvider) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
toCredentialsConfiguration(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties)
Converts properties object received from importer to Bamboo credentials configuration.
|
com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials |
toSpecsEntity(CredentialsData credentialsData)
Exports the supplied credentials data and credential configuration to a credential type-specific properties.
|
@Autowired public SshCredentialTypeExporter(com.atlassian.struts.TextProvider textProvider)
public Map<String,String> toCredentialsConfiguration(com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties entityProperties) throws YamlValidationException
CredentialTypeExporter
toCredentialsConfiguration
in interface CredentialTypeExporter
YamlValidationException
public com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials toSpecsEntity(CredentialsData credentialsData)
CredentialTypeExporter
toSpecsEntity
in interface CredentialTypeExporter
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.