public enum InteractionMode extends Enum<InteractionMode>
Enum Constant and Description |
---|
ALL
All possible modes.
|
INTERACTIVE
Interactive mode which is expected to not exit and do have a running mode to
keep shell alive.
|
NONINTERACTIVE
Non-interactive mode which is expected to exit and doesn't have any kind of
running mode to keep shell alive.
|
Modifier and Type | Method and Description |
---|---|
static InteractionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionMode ALL
public static final InteractionMode NONINTERACTIVE
public static final InteractionMode INTERACTIVE
public static InteractionMode[] values()
for (InteractionMode c : InteractionMode.values()) System.out.println(c);
public static InteractionMode 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.