Enum Class EventImportance
- All Implemented Interfaces:
Serializable
,Comparable<EventImportance>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA critically important event such as a brownout, component failure, or software deadlock.A high-importance event such as scoring a game piece.A low importance event such as acquisition of a game piece.A "normal" importance event, such as a transition from autonomous mode to teleoperated control.A trivial event such as a change in command state. -
Method Summary
Modifier and TypeMethodDescriptionReturns name of the given enum.static EventImportance
Returns the enum constant of this class with the specified name.static EventImportance[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kTrivial
A trivial event such as a change in command state. -
kLow
A low importance event such as acquisition of a game piece. -
kNormal
A "normal" importance event, such as a transition from autonomous mode to teleoperated control. -
kHigh
A high-importance event such as scoring a game piece. -
kCritical
A critically important event such as a brownout, component failure, or software deadlock.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getSimpleName
Returns name of the given enum.- Returns:
- Name of the given enum.
-