public enum Behavior extends Enum<Behavior>
Enum Constant and Description |
---|
BEHAVIOR |
BREAK_BEHAVIOR |
CONTINUE_BEHAVIOR |
EXCEPTIONAL_BEHAVIOR |
MODEL_BEHAVIOR |
NONE |
NORMAL_BEHAVIOR |
RETURN_BEHAVIOR |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Behavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Behavior NONE
public static final Behavior BEHAVIOR
public static final Behavior MODEL_BEHAVIOR
public static final Behavior NORMAL_BEHAVIOR
public static final Behavior EXCEPTIONAL_BEHAVIOR
public static final Behavior BREAK_BEHAVIOR
public static final Behavior CONTINUE_BEHAVIOR
public static final Behavior RETURN_BEHAVIOR
private final String name
public static Behavior[] values()
for (Behavior c : Behavior.values()) System.out.println(c);
public static Behavior 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 null