public static enum Scenario.AnswerResult extends Enum<Scenario.AnswerResult>
| Enum Constant and Description |
|---|
CONSTRAINT_VIOLATED |
OK |
REQUIRED_BUT_EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static Scenario.AnswerResult |
from(int jrCode) |
static Scenario.AnswerResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scenario.AnswerResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scenario.AnswerResult OK
public static final Scenario.AnswerResult REQUIRED_BUT_EMPTY
public static final Scenario.AnswerResult CONSTRAINT_VIOLATED
public static Scenario.AnswerResult[] values()
for (Scenario.AnswerResult c : Scenario.AnswerResult.values()) System.out.println(c);
public static Scenario.AnswerResult 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 static Scenario.AnswerResult from(int jrCode)
Copyright © 2025. All rights reserved.