public enum GitSshCredentialsSource extends Enum<GitSshCredentialsSource>
Enum Constant and Description |
---|
CUSTOM
Use custom, user provided SSH key and passphrase.
|
SHARED_CREDENTIALS
Use shared credentials to obtain SSH key and passphrase.
|
Modifier and Type | Method and Description |
---|---|
static GitSshCredentialsSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitSshCredentialsSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitSshCredentialsSource SHARED_CREDENTIALS
PrivateKeyCredentials
public static final GitSshCredentialsSource CUSTOM
public static GitSshCredentialsSource[] values()
for (GitSshCredentialsSource c : GitSshCredentialsSource.values()) System.out.println(c);
public static GitSshCredentialsSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.