public enum Prompt extends java.lang.Enum<Prompt>
Enum Constant and Description |
---|
CONSENT |
LOGIN |
NONE |
SELECT_ACCOUNT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrompt() |
java.lang.String |
toString() |
static Prompt |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Prompt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Prompt NONE
public static final Prompt LOGIN
public static final Prompt CONSENT
public static final Prompt SELECT_ACCOUNT
public static Prompt[] values()
for (Prompt c : Prompt.values()) System.out.println(c);
public static Prompt valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPrompt()
public java.lang.String toString()
toString
in class java.lang.Enum<Prompt>