public enum GitPasswordCredentialsSource extends Enum<GitPasswordCredentialsSource>
Enum Constant and Description |
---|
CUSTOM
Use custom, user provided username and password.
|
SHARED_CREDENTIALS
Use shared credentials to obtain username and password.
|
Modifier and Type | Method and Description |
---|---|
static GitPasswordCredentialsSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitPasswordCredentialsSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitPasswordCredentialsSource SHARED_CREDENTIALS
public static final GitPasswordCredentialsSource CUSTOM
public static GitPasswordCredentialsSource[] values()
for (GitPasswordCredentialsSource c : GitPasswordCredentialsSource.values()) System.out.println(c);
public static GitPasswordCredentialsSource 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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.