public static enum LanternaAction.ResolveStrategy extends Enum<LanternaAction.ResolveStrategy>
Enum Constant and Description |
---|
DELEGATE_FIRST |
DELEGATE_ONLY |
RUNNABLE_FIRST |
RUNNABLE_ONLY |
Modifier and Type | Method and Description |
---|---|
static LanternaAction.ResolveStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanternaAction.ResolveStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanternaAction.ResolveStrategy DELEGATE_FIRST
public static final LanternaAction.ResolveStrategy RUNNABLE_FIRST
public static final LanternaAction.ResolveStrategy DELEGATE_ONLY
public static final LanternaAction.ResolveStrategy RUNNABLE_ONLY
public static LanternaAction.ResolveStrategy[] values()
for (LanternaAction.ResolveStrategy c : LanternaAction.ResolveStrategy.values()) System.out.println(c);
public static LanternaAction.ResolveStrategy 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