public enum OAuthProvider extends Enum<OAuthProvider>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OAuthProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthProvider TWITTER
public static final OAuthProvider GOOGLE
public static final OAuthProvider FACEBOOK
public static OAuthProvider[] values()
for (OAuthProvider c : OAuthProvider.values()) System.out.println(c);
public static OAuthProvider 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 nullpublic String toString()
toString in class Enum<OAuthProvider>Copyright © 2016. All rights reserved.