Package com.atlassian.bamboo.credentials
Class Credentials
java.lang.Object
com.atlassian.bamboo.credentials.Credentials
Helper class for credentials handling.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull String
configToXml
(@NotNull Map<String, String> credentialsConfig) static Iterable<CredentialsData>
getAllSharedCredentials
(@NotNull Iterable<? extends VcsRepositoryData> repositories, @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull CredentialsAccessor credentialsAccessor) static <T> Iterable<CredentialsData>
getAllSharedCredentials
(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, @NotNull Function<T, SharedCredentialDepender> createDependerFunction) static <T> Iterable<CredentialsData>
getAllSharedCredentials
(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, Function<T, ConfigurableSharedCredentialDepender> createDependerFunction, Function<T, Map<String, String>> createConfigFunction) xmlToConfig
(@NotNull String xml)
-
Method Details
-
configToXml
-
xmlToConfig