Enum Class Logged.Strategy

java.lang.Object
java.lang.Enum<Logged.Strategy>
edu.wpi.first.epilogue.Logged.Strategy
All Implemented Interfaces:
Serializable, Comparable<Logged.Strategy>, Constable
Enclosing class:
Logged

public static enum Logged.Strategy extends Enum<Logged.Strategy>
Opt-in or opt-out strategies for logging.
  • Enum Constant Details

    • OPT_OUT

      public static final Logged.Strategy OPT_OUT
      Log everything except for those elements explicitly opted out of with the skip = true attribute. This is the default behavior.
    • OPT_IN

      public static final Logged.Strategy OPT_IN
      Log only fields and methods tagged with an Logged annotation.
  • Method Details

    • values

      public static Logged.Strategy[] 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 Logged.Strategy 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