public static enum Credential.CredentialType extends java.lang.Enum<Credential.CredentialType>
Modifier and Type | Method and Description |
---|---|
static Credential.CredentialType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Credential.CredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credential.CredentialType FACEBOOK
public static final Credential.CredentialType LINKEDIN
public static final Credential.CredentialType TWITTER
public static final Credential.CredentialType GPLUS
public static Credential.CredentialType[] values()
for (Credential.CredentialType c : Credential.CredentialType.values()) System.out.println(c);
public static Credential.CredentialType 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