public enum OauthField extends Enum<OauthField>
Enum Constant and Description |
---|
CLIENT_ID |
CLIENT_SECRET |
GRANT_TYPE |
PASSWORD |
REDIRECCT_URI |
REFRESH_TOKEN |
USERNAME |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OauthField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OauthField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OauthField CLIENT_ID
public static final OauthField CLIENT_SECRET
public static final OauthField GRANT_TYPE
public static final OauthField REDIRECCT_URI
public static final OauthField USERNAME
public static final OauthField PASSWORD
public static final OauthField REFRESH_TOKEN
public static OauthField[] values()
for (OauthField c : OauthField.values()) System.out.println(c);
public static OauthField 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<OauthField>
Copyright © 2017. All rights reserved.