public enum IdentityProvider extends Enum<IdentityProvider>
| Enum Constant and Description |
|---|
AMAZON |
DEVELOPER |
FACEBOOK |
GOOGLE |
TWITTER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(String other)
Utility comparison for the String value of the enum
|
String |
toString() |
static IdentityProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityProvider AMAZON
public static final IdentityProvider FACEBOOK
public static final IdentityProvider GOOGLE
public static final IdentityProvider TWITTER
public static final IdentityProvider DEVELOPER
public static IdentityProvider[] values()
for (IdentityProvider c : IdentityProvider.values()) System.out.println(c);
public static IdentityProvider 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<IdentityProvider>public boolean equals(String other)
other - The String that is being compared to the IdentityProvider's string valueCopyright © 2020. All rights reserved.