Package de.gematik.rbellogger.util
Enum Class RbelAnsiColors
- All Implemented Interfaces:
Serializable,Comparable<RbelAnsiColors>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidbooleanstatic RbelAnsiColorsstatic Optional<RbelAnsiColors>seekColorSafe(String query) toString()static RbelAnsiColorsReturns the enum constant of this class with the specified name.static RbelAnsiColors[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESET
-
BLACK
-
RED
-
GREEN
-
YELLOW
-
BLUE
-
PURPLE
-
CYAN
-
WHITE
-
BLACK_BOLD
-
RED_BOLD
-
GREEN_BOLD
-
YELLOW_BOLD
-
BLUE_BOLD
-
PURPLE_BOLD
-
CYAN_BOLD
-
WHITE_BOLD
-
BLACK_UNDERLINED
-
RED_UNDERLINED
-
GREEN_UNDERLINED
-
YELLOW_UNDERLINED
-
BLUE_UNDERLINED
-
PURPLE_UNDERLINED
-
CYAN_UNDERLINED
-
WHITE_UNDERLINED
-
BLACK_BACKGROUND
-
RED_BACKGROUND
-
GREEN_BACKGROUND
-
YELLOW_BACKGROUND
-
BLUE_BACKGROUND
-
PURPLE_BACKGROUND
-
CYAN_BACKGROUND
-
WHITE_BACKGROUND
-
BLACK_BRIGHT
-
RED_BRIGHT
-
GREEN_BRIGHT
-
YELLOW_BRIGHT
-
BLUE_BRIGHT
-
PURPLE_BRIGHT
-
CYAN_BRIGHT
-
WHITE_BRIGHT
-
BLACK_BOLD_BRIGHT
-
RED_BOLD_BRIGHT
-
GREEN_BOLD_BRIGHT
-
YELLOW_BOLD_BRIGHT
-
BLUE_BOLD_BRIGHT
-
PURPLE_BOLD_BRIGHT
-
CYAN_BOLD_BRIGHT
-
WHITE_BOLD_BRIGHT
-
BLACK_BACKGROUND_BRIGHT
-
RED_BACKGROUND_BRIGHT
-
GREEN_BACKGROUND_BRIGHT
-
YELLOW_BACKGROUND_BRIGHT
-
BLUE_BACKGROUND_BRIGHT
-
PURPLE_BACKGROUND_BRIGHT
-
CYAN_BACKGROUND_BRIGHT
-
WHITE_BACKGROUND_BRIGHT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
activateAnsiColors
public static void activateAnsiColors() -
deactivateAnsiColors
public static void deactivateAnsiColors() -
toString
- Overrides:
toStringin classEnum<RbelAnsiColors>
-
seekColorSafe
-
seekColor
-
doesColorMatchForQueryString
-