public enum ResultMode extends Enum<ResultMode>
resultValue
is handled.Enum Constant and Description |
---|
ACCEPT
Blindly accept a given
resultValue resulting component run to be
skipped and value set as a result automatically. |
VERIFY
Verify a given
resultValue with a component run. |
Modifier and Type | Method and Description |
---|---|
static ResultMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultMode ACCEPT
resultValue
resulting component run to be
skipped and value set as a result automatically.public static final ResultMode VERIFY
resultValue
with a component run. It is up to a
component to define how it's done but usually result value is set as a
default value which allows user to just continue.public static ResultMode[] values()
for (ResultMode c : ResultMode.values()) System.out.println(c);
public static ResultMode 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 © 2024. All rights reserved.