public static enum AnsiOutput.Enabled extends Enum<AnsiOutput.Enabled>
AnsiOutput.setEnabled(org.springframework.boot.ansi.AnsiOutput.Enabled)
. Determines when to output
ANSI escape sequences for coloring application output.Enum Constant and Description |
---|
ALWAYS
Enable ANSI-colored output.
|
DETECT
Try to detect whether ANSI coloring capabilities are available.
|
NEVER
Disable ANSI-colored output.
|
Modifier and Type | Method and Description |
---|---|
static AnsiOutput.Enabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiOutput.Enabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiOutput.Enabled DETECT
AnsiOutput
.public static final AnsiOutput.Enabled ALWAYS
public static final AnsiOutput.Enabled NEVER
public static AnsiOutput.Enabled[] values()
for (AnsiOutput.Enabled c : AnsiOutput.Enabled.values()) System.out.println(c);
public static AnsiOutput.Enabled 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 © 2021 Pivotal Software, Inc.. All rights reserved.