Enum Class EventImportance

java.lang.Object
java.lang.Enum<EventImportance>
edu.wpi.first.wpilibj.shuffleboard.EventImportance
All Implemented Interfaces:
Serializable, Comparable<EventImportance>, Constable

public enum EventImportance extends Enum<EventImportance>
The importance of an event marker in Shuffleboard. The exact meaning of each importance level is up for interpretation on a team-to-team basis, but users should follow the general guidelines of the various importance levels. The examples given are for reference and may be ignored or considered to be more or less important from team to team.
  • Enum Constant Details

    • kTrivial

      public static final EventImportance kTrivial
      A trivial event such as a change in command state.
    • kLow

      public static final EventImportance kLow
      A low importance event such as acquisition of a game piece.
    • kNormal

      public static final EventImportance kNormal
      A "normal" importance event, such as a transition from autonomous mode to teleoperated control.
    • kHigh

      public static final EventImportance kHigh
      A high-importance event such as scoring a game piece.
    • kCritical

      public static final EventImportance kCritical
      A critically important event such as a brownout, component failure, or software deadlock.
  • Method Details

    • values

      public static EventImportance[] 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 EventImportance 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
    • getSimpleName

      Returns name of the given enum.
      Returns:
      Name of the given enum.