Package aero.t2s.modes.constants
Enum SurveillanceStatus
- java.lang.Object
-
- java.lang.Enum<SurveillanceStatus>
-
- aero.t2s.modes.constants.SurveillanceStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SurveillanceStatus>
public enum SurveillanceStatus extends java.lang.Enum<SurveillanceStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_CONDITIONPERMANENT_ALERTSPITEMPORARY_ALERT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SurveillanceStatusfrom(int code)static SurveillanceStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SurveillanceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CONDITION
public static final SurveillanceStatus NO_CONDITION
-
PERMANENT_ALERT
public static final SurveillanceStatus PERMANENT_ALERT
-
TEMPORARY_ALERT
public static final SurveillanceStatus TEMPORARY_ALERT
-
SPI
public static final SurveillanceStatus SPI
-
-
Method Detail
-
values
public static SurveillanceStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SurveillanceStatus c : SurveillanceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SurveillanceStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
from
public static SurveillanceStatus from(int code)
-
-