Enum DebugMode

java.lang.Object
java.lang.Enum<DebugMode>
ru.cwcode.commands.DebugMode
All Implemented Interfaces:
Serializable, Comparable<DebugMode>, java.lang.constant.Constable

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

    • NONE

      public static final DebugMode NONE
    • REDUCED

      public static final DebugMode REDUCED
    • DETAILED

      public static final DebugMode DETAILED
  • Method Details

    • values

      public static DebugMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DebugMode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • print

      public void print(String text)
    • is

      public boolean is(DebugMode mode)