Enum Constant and Description |
---|
DEBUG |
ERROR |
FAILURE |
INFO |
MOJO |
PROJECT |
STRONG |
SUCCESS |
WARNING |
Modifier and Type | Field and Description |
---|---|
private boolean |
bgBright |
private org.fusesource.jansi.Ansi.Color |
bgColor |
private boolean |
bold |
private boolean |
bright |
private org.fusesource.jansi.Ansi.Color |
color |
Modifier and Type | Method and Description |
---|---|
(package private) org.fusesource.jansi.Ansi |
apply(org.fusesource.jansi.Ansi ansi) |
private static org.fusesource.jansi.Ansi.Color |
toColor(java.lang.String token) |
java.lang.String |
toString() |
static Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style DEBUG
public static final Style INFO
public static final Style WARNING
public static final Style ERROR
public static final Style SUCCESS
public static final Style FAILURE
public static final Style STRONG
public static final Style MOJO
public static final Style PROJECT
private final boolean bold
private final boolean bright
private final org.fusesource.jansi.Ansi.Color color
private final boolean bgBright
private final org.fusesource.jansi.Ansi.Color bgColor
public static Style[] values()
for (Style c : Style.values()) System.out.println(c);
public static Style valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprivate static org.fusesource.jansi.Ansi.Color toColor(java.lang.String token)
org.fusesource.jansi.Ansi apply(org.fusesource.jansi.Ansi ansi)
public java.lang.String toString()
toString
in class java.lang.Enum<Style>