Package de.gematik.rbellogger.util
Enum RbelAnsiColors
- java.lang.Object
-
- java.lang.Enum<RbelAnsiColors>
-
- de.gematik.rbellogger.util.RbelAnsiColors
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RbelAnsiColors>
public enum RbelAnsiColors extends java.lang.Enum<RbelAnsiColors>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoesColorMatchForQueryString(java.lang.String query)static RbelAnsiColorsseekColor(java.lang.String query)static java.util.Optional<RbelAnsiColors>seekColorSafe(java.lang.String query)java.lang.StringtoString()static RbelAnsiColorsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RbelAnsiColors[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESET
public static final RbelAnsiColors RESET
-
BLACK
public static final RbelAnsiColors BLACK
-
RED
public static final RbelAnsiColors RED
-
GREEN
public static final RbelAnsiColors GREEN
-
YELLOW
public static final RbelAnsiColors YELLOW
-
BLUE
public static final RbelAnsiColors BLUE
-
PURPLE
public static final RbelAnsiColors PURPLE
-
CYAN
public static final RbelAnsiColors CYAN
-
WHITE
public static final RbelAnsiColors WHITE
-
BLACK_BOLD
public static final RbelAnsiColors BLACK_BOLD
-
RED_BOLD
public static final RbelAnsiColors RED_BOLD
-
GREEN_BOLD
public static final RbelAnsiColors GREEN_BOLD
-
YELLOW_BOLD
public static final RbelAnsiColors YELLOW_BOLD
-
BLUE_BOLD
public static final RbelAnsiColors BLUE_BOLD
-
PURPLE_BOLD
public static final RbelAnsiColors PURPLE_BOLD
-
CYAN_BOLD
public static final RbelAnsiColors CYAN_BOLD
-
WHITE_BOLD
public static final RbelAnsiColors WHITE_BOLD
-
BLACK_UNDERLINED
public static final RbelAnsiColors BLACK_UNDERLINED
-
RED_UNDERLINED
public static final RbelAnsiColors RED_UNDERLINED
-
GREEN_UNDERLINED
public static final RbelAnsiColors GREEN_UNDERLINED
-
YELLOW_UNDERLINED
public static final RbelAnsiColors YELLOW_UNDERLINED
-
BLUE_UNDERLINED
public static final RbelAnsiColors BLUE_UNDERLINED
-
PURPLE_UNDERLINED
public static final RbelAnsiColors PURPLE_UNDERLINED
-
CYAN_UNDERLINED
public static final RbelAnsiColors CYAN_UNDERLINED
-
WHITE_UNDERLINED
public static final RbelAnsiColors WHITE_UNDERLINED
-
BLACK_BACKGROUND
public static final RbelAnsiColors BLACK_BACKGROUND
-
RED_BACKGROUND
public static final RbelAnsiColors RED_BACKGROUND
-
GREEN_BACKGROUND
public static final RbelAnsiColors GREEN_BACKGROUND
-
YELLOW_BACKGROUND
public static final RbelAnsiColors YELLOW_BACKGROUND
-
BLUE_BACKGROUND
public static final RbelAnsiColors BLUE_BACKGROUND
-
PURPLE_BACKGROUND
public static final RbelAnsiColors PURPLE_BACKGROUND
-
CYAN_BACKGROUND
public static final RbelAnsiColors CYAN_BACKGROUND
-
WHITE_BACKGROUND
public static final RbelAnsiColors WHITE_BACKGROUND
-
BLACK_BRIGHT
public static final RbelAnsiColors BLACK_BRIGHT
-
RED_BRIGHT
public static final RbelAnsiColors RED_BRIGHT
-
GREEN_BRIGHT
public static final RbelAnsiColors GREEN_BRIGHT
-
YELLOW_BRIGHT
public static final RbelAnsiColors YELLOW_BRIGHT
-
BLUE_BRIGHT
public static final RbelAnsiColors BLUE_BRIGHT
-
PURPLE_BRIGHT
public static final RbelAnsiColors PURPLE_BRIGHT
-
CYAN_BRIGHT
public static final RbelAnsiColors CYAN_BRIGHT
-
WHITE_BRIGHT
public static final RbelAnsiColors WHITE_BRIGHT
-
BLACK_BOLD_BRIGHT
public static final RbelAnsiColors BLACK_BOLD_BRIGHT
-
RED_BOLD_BRIGHT
public static final RbelAnsiColors RED_BOLD_BRIGHT
-
GREEN_BOLD_BRIGHT
public static final RbelAnsiColors GREEN_BOLD_BRIGHT
-
YELLOW_BOLD_BRIGHT
public static final RbelAnsiColors YELLOW_BOLD_BRIGHT
-
BLUE_BOLD_BRIGHT
public static final RbelAnsiColors BLUE_BOLD_BRIGHT
-
PURPLE_BOLD_BRIGHT
public static final RbelAnsiColors PURPLE_BOLD_BRIGHT
-
CYAN_BOLD_BRIGHT
public static final RbelAnsiColors CYAN_BOLD_BRIGHT
-
WHITE_BOLD_BRIGHT
public static final RbelAnsiColors WHITE_BOLD_BRIGHT
-
BLACK_BACKGROUND_BRIGHT
public static final RbelAnsiColors BLACK_BACKGROUND_BRIGHT
-
RED_BACKGROUND_BRIGHT
public static final RbelAnsiColors RED_BACKGROUND_BRIGHT
-
GREEN_BACKGROUND_BRIGHT
public static final RbelAnsiColors GREEN_BACKGROUND_BRIGHT
-
YELLOW_BACKGROUND_BRIGHT
public static final RbelAnsiColors YELLOW_BACKGROUND_BRIGHT
-
BLUE_BACKGROUND_BRIGHT
public static final RbelAnsiColors BLUE_BACKGROUND_BRIGHT
-
PURPLE_BACKGROUND_BRIGHT
public static final RbelAnsiColors PURPLE_BACKGROUND_BRIGHT
-
CYAN_BACKGROUND_BRIGHT
public static final RbelAnsiColors CYAN_BACKGROUND_BRIGHT
-
WHITE_BACKGROUND_BRIGHT
public static final RbelAnsiColors WHITE_BACKGROUND_BRIGHT
-
-
Method Detail
-
values
public static RbelAnsiColors[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RbelAnsiColors c : RbelAnsiColors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RbelAnsiColors valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<RbelAnsiColors>
-
seekColorSafe
public static java.util.Optional<RbelAnsiColors> seekColorSafe(java.lang.String query)
-
seekColor
public static RbelAnsiColors seekColor(java.lang.String query)
-
doesColorMatchForQueryString
public boolean doesColorMatchForQueryString(java.lang.String query)
-
-