public enum SocialProvider extends Enum<SocialProvider>
| Modifier and Type | Method and Description |
|---|---|
static SocialProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocialProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocialProvider google
public static final SocialProvider facebook
public static final SocialProvider twitter
public static final SocialProvider password
public static SocialProvider[] values()
for (SocialProvider c : SocialProvider.values()) System.out.println(c);
public static SocialProvider 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 null