Package com.atlassian.bamboo.credentials
Class Credentials
- java.lang.Object
-
- com.atlassian.bamboo.credentials.Credentials
-
public class Credentials extends Object
Helper class for credentials handling.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @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 com.google.common.base.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)
static @NotNull Map<String,String>
xmlToConfig(@NotNull String xml)
-
-
-
Method Detail
-
getAllSharedCredentials
public static <T> Iterable<CredentialsData> getAllSharedCredentials(@NotNull @NotNull Iterable<T> sharedCredentialTypes, @NotNull @NotNull CredentialsAccessor credentialsAccessor, @NotNull @NotNull com.google.common.base.Function<T,SharedCredentialDepender> createDependerFunction)
-
getAllSharedCredentials
public static <T> Iterable<CredentialsData> getAllSharedCredentials(@NotNull @NotNull Iterable<T> sharedCredentialTypes, @NotNull @NotNull CredentialsAccessor credentialsAccessor, @NotNull Function<T,ConfigurableSharedCredentialDepender> createDependerFunction, @NotNull Function<T,Map<String,String>> createConfigFunction)
-
getAllSharedCredentials
public static Iterable<CredentialsData> getAllSharedCredentials(@NotNull @NotNull Iterable<? extends VcsRepositoryData> repositories, @NotNull @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull @NotNull CredentialsAccessor credentialsAccessor)
-
configToXml
@NotNull public static @NotNull String configToXml(@NotNull @NotNull Map<String,String> credentialsConfig)
-
-