Enum Class NWSZoneLayer.AdvisoryLevel

java.lang.Object
java.lang.Enum<NWSZoneLayer.AdvisoryLevel>
org.ka2ddo.yaac.gui.weather.NWSZoneLayer.AdvisoryLevel
All Implemented Interfaces:
Serializable, Comparable<NWSZoneLayer.AdvisoryLevel>, Constable
Enclosing class:
NWSZoneLayer

public static enum NWSZoneLayer.AdvisoryLevel extends Enum<NWSZoneLayer.AdvisoryLevel>
Enumeration for different severity levels of severe weather events.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • WARN

      public static final NWSZoneLayer.AdvisoryLevel WARN
      Enum indicating severe weather condition is guaranteed to happen in the very near future.
    • WATCH

      public static final NWSZoneLayer.AdvisoryLevel WATCH
      Enum indicating severe weather condition is likely to happen in the near future and the Weather Service is monitoring conditions for increasing severity.
    • ADVIS

      public static final NWSZoneLayer.AdvisoryLevel ADVIS
      Enum indicating severe weather condition is possible in the future.
    • STMNT

      public static final NWSZoneLayer.AdvisoryLevel STMNT
    • CANCL

      public static final NWSZoneLayer.AdvisoryLevel CANCL
      Enum indicating a previous weather advisory is being cancelled.
  • Method Details

    • values

      public static NWSZoneLayer.AdvisoryLevel[] 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 NWSZoneLayer.AdvisoryLevel 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