Package picocli

Enum CommandLine.TraceLevel

java.lang.Object
java.lang.Enum<CommandLine.TraceLevel>
picocli.CommandLine.TraceLevel
All Implemented Interfaces:
Serializable, Comparable<CommandLine.TraceLevel>, java.lang.constant.Constable
Enclosing class:
CommandLine

public static enum CommandLine.TraceLevel extends Enum<CommandLine.TraceLevel>
Enumerates over the trace level values for filtering which internal debug statements should be printed.
Since:
4.7.5
  • Enum Constant Details

  • Method Details

    • values

      public static CommandLine.TraceLevel[] 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 CommandLine.TraceLevel 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
    • isEnabled

      public boolean isEnabled(CommandLine.TraceLevel other)
      Returns whether messages at the specified other trace level would be printed for the current trace level.