public static enum SyncCredentials.CredentialsType extends java.lang.Enum<SyncCredentials.CredentialsType>
| Enum Constant and Description |
|---|
GOOGLE |
NONE |
SHARED_SECRET |
| Modifier and Type | Field and Description |
|---|---|
long |
id |
| Modifier and Type | Method and Description |
|---|---|
static SyncCredentials.CredentialsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncCredentials.CredentialsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncCredentials.CredentialsType NONE
public static final SyncCredentials.CredentialsType SHARED_SECRET
public static final SyncCredentials.CredentialsType GOOGLE
public static SyncCredentials.CredentialsType[] values()
for (SyncCredentials.CredentialsType c : SyncCredentials.CredentialsType.values()) System.out.println(c);
public static SyncCredentials.CredentialsType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null