Serializable
, Comparable<ConsoleOutput>
public enum ConsoleOutput extends Enum<ConsoleOutput>
Enum Constant | Description |
---|---|
Auto |
Enable color and rich output when the current process is attached to a console, disable when not attached to a console.
|
Plain |
Disable all color and rich output.
|
Rich |
Enable color and rich output, regardless of whether the current process is attached to a console or not.
|
Verbose |
Enable color and rich output like Rich, but output more detailed message.
|
Modifier and Type | Method | Description |
---|---|---|
static ConsoleOutput |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ConsoleOutput[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleOutput Plain
public static final ConsoleOutput Auto
public static final ConsoleOutput Rich
@Incubating public static final ConsoleOutput Verbose
public static ConsoleOutput[] values()
for (ConsoleOutput c : ConsoleOutput.values()) System.out.println(c);
public static ConsoleOutput 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