Package com.bosch.wdw

Enum Class WarningEvent.WarningType

java.lang.Object
java.lang.Enum<WarningEvent.WarningType>
com.bosch.wdw.WarningEvent.WarningType
All Implemented Interfaces:
Serializable, Comparable<WarningEvent.WarningType>, Constable
Enclosing class:
WarningEvent

public static enum WarningEvent.WarningType extends Enum<WarningEvent.WarningType>

The WarningType defines the type of a WarningEvent.

There are three different WarningType defined:

  1. IAmWWD - Set as WarningType if you are a wrong way driver.
  2. WWDInFront - Set as WarningType if there is a wrong way driver in front of you.
  3. NoWWD - Set as WarningType if there is no wrong way driver.
  • Enum Constant Details

  • Method Details

    • values

      public static WarningEvent.WarningType[] 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 WarningEvent.WarningType 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