Enum Class LogColor

java.lang.Object
java.lang.Enum<LogColor>
org.tavall.couriers.api.console.style.LogColor
All Implemented Interfaces:
Serializable, Comparable<LogColor>, Constable

public enum LogColor extends Enum<LogColor>
  • Enum Constant Details

    • RESET

      public static final LogColor RESET
    • BLACK

      public static final LogColor BLACK
    • RED

      public static final LogColor RED
    • GREEN

      public static final LogColor GREEN
    • YELLOW

      public static final LogColor YELLOW
    • BLUE

      public static final LogColor BLUE
    • PURPLE

      public static final LogColor PURPLE
    • CYAN

      public static final LogColor CYAN
    • WHITE

      public static final LogColor WHITE
    • GRAY

      public static final LogColor GRAY
    • BOLD

      public static final LogColor BOLD
    • UNDERLINE

      public static final LogColor UNDERLINE
    • REVERSED

      public static final LogColor REVERSED
    • BG_BLACK

      public static final LogColor BG_BLACK
    • BG_RED

      public static final LogColor BG_RED
    • BG_GREEN

      public static final LogColor BG_GREEN
    • BG_YELLOW

      public static final LogColor BG_YELLOW
    • BG_BLUE

      public static final LogColor BG_BLUE
    • BG_PURPLE

      public static final LogColor BG_PURPLE
    • BG_CYAN

      public static final LogColor BG_CYAN
    • BG_WHITE

      public static final LogColor BG_WHITE
    • BG_GRAY

      public static final LogColor BG_GRAY
  • Method Details

    • values

      public static LogColor[] 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

      public static LogColor valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • code

      public String code()
    • isReset

      public boolean isReset()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LogColor>