Enum Class Logger.Colors

java.lang.Object
java.lang.Enum<Logger.Colors>
laas.openrobots.ontology.helpers.Logger.Colors
All Implemented Interfaces:
Serializable, Comparable<Logger.Colors>, Constable
Enclosing class:
Logger

public static enum Logger.Colors extends Enum<Logger.Colors>
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static Logger.Colors[] 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 Logger.Colors 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
    • format

      public String format(String msg)
    • formatBold

      public String formatBold(String msg)
    • random

      public static Logger.Colors random()
    • getColorForAgent

      public static Logger.Colors getColorForAgent(String agent)