public static enum OAuthError.NameEnum extends Enum<OAuthError.NameEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuthError.NameEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static OAuthError.NameEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static OAuthError.NameEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthError.NameEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthError.NameEnum REQUEST
public static final OAuthError.NameEnum GRANT
public static final OAuthError.NameEnum TOKEN
public static OAuthError.NameEnum[] values()
for (OAuthError.NameEnum c : OAuthError.NameEnum.values()) System.out.println(c);
public static OAuthError.NameEnum 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 getValue()
public String toString()
toString in class Enum<OAuthError.NameEnum>public static OAuthError.NameEnum fromValue(String text)
Copyright © 2020. All rights reserved.