public static enum Prompt.Type extends Enum<Prompt.Type>
| Enum Constant and Description |
|---|
ERROR |
INFORMATION |
QUESTION |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static Prompt.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Prompt.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Prompt.Type INFORMATION
public static final Prompt.Type QUESTION
public static final Prompt.Type WARNING
public static final Prompt.Type ERROR
public static Prompt.Type[] values()
for (Prompt.Type c : Prompt.Type.values()) System.out.println(c);
public static Prompt.Type 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 © 2001–2025. All rights reserved.