public class Credentials extends Object
Modifier and Type | Method and Description |
---|---|
static String |
configToXml(Map<String,String> credentialsConfig) |
static Iterable<CredentialsData> |
getAllSharedCredentials(Iterable<? extends VcsRepositoryData> repositories,
VcsRepositoryManager vcsRepositoryManager,
CredentialsAccessor credentialsAccessor) |
static <T> Iterable<CredentialsData> |
getAllSharedCredentials(Iterable<T> sharedCredentialTypes,
CredentialsAccessor credentialsAccessor,
com.google.common.base.Function<T,ConfigurableSharedCredentialDepender> createDependerFunction,
com.google.common.base.Function<T,Map<String,String>> createConfigFunction)
Deprecated.
since 5.14 use non-Guava version
|
static <T> Iterable<CredentialsData> |
getAllSharedCredentials(Iterable<T> sharedCredentialTypes,
CredentialsAccessor credentialsAccessor,
Function<T,ConfigurableSharedCredentialDepender> createDependerFunction,
Function<T,Map<String,String>> createConfigFunction) |
static <T> Iterable<CredentialsData> |
getAllSharedCredentials(Iterable<T> sharedCredentialTypes,
CredentialsAccessor credentialsAccessor,
com.google.common.base.Function<T,SharedCredentialDepender> createDependerFunction) |
static Map<String,String> |
xmlToConfig(String xml) |
public static <T> Iterable<CredentialsData> getAllSharedCredentials(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, @NotNull com.google.common.base.Function<T,SharedCredentialDepender> createDependerFunction)
@Deprecated public static <T> Iterable<CredentialsData> getAllSharedCredentials(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, @NotNull com.google.common.base.Function<T,ConfigurableSharedCredentialDepender> createDependerFunction, @NotNull com.google.common.base.Function<T,Map<String,String>> createConfigFunction)
public static <T> Iterable<CredentialsData> getAllSharedCredentials(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, @NotNull Function<T,ConfigurableSharedCredentialDepender> createDependerFunction, @NotNull Function<T,Map<String,String>> createConfigFunction)
public static Iterable<CredentialsData> getAllSharedCredentials(@NotNull Iterable<? extends VcsRepositoryData> repositories, @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull CredentialsAccessor credentialsAccessor)
@NotNull public static String configToXml(@NotNull Map<String,String> credentialsConfig)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.