
public static enum Answer.AnswerType extends Enum<Answer.AnswerType>
| Enum Constant and Description |
|---|
EOF
Action represeting the last input action, flushing and closing input stream
|
NONE
No answer
|
TEXT
Text input, as it would be written by user
|
| Modifier and Type | Method and Description |
|---|---|
static Answer.AnswerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Answer.AnswerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Answer.AnswerType NONE
public static final Answer.AnswerType TEXT
public static final Answer.AnswerType EOF
public static Answer.AnswerType[] values()
for (Answer.AnswerType c : Answer.AnswerType.values()) System.out.println(c);
public static Answer.AnswerType 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 nullCopyright © 2014 JBoss by Red Hat. All rights reserved.