Enum Class Execution.Trace.Level

java.lang.Object
java.lang.Enum<Execution.Trace.Level>
com.yahoo.processing.execution.Execution.Trace.Level
All Implemented Interfaces:
Serializable, Comparable<Execution.Trace.Level>, Constable
Enclosing class:
Execution.Trace

public static enum Execution.Trace.Level extends Enum<Execution.Trace.Level>
Defines what information is added at which trace level
  • Enum Constant Details

    • Step

      public static final Execution.Trace.Level Step
      Every processing step initiated is traced
    • Timestamp

      public static final Execution.Trace.Level Timestamp
      All trace messages are timestamped
    • Dependencies

      public static final Execution.Trace.Level Dependencies
      The before/after dependencies of each processing step is traced on every invocation
  • Method Details

    • values

      public static Execution.Trace.Level[] 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 Execution.Trace.Level 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
    • value

      public int value()
    • includes

      public boolean includes(int traceLevel)
      Returns whether this level includes the given level, i.e whether traceLevel is this.value() or more