Package org.yamcs.sle
Enum Constants.UplinkStatus
- java.lang.Object
-
- java.lang.Enum<Constants.UplinkStatus>
-
- org.yamcs.sle.Constants.UplinkStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Constants.UplinkStatus>
- Enclosing class:
- Constants
public static enum Constants.UplinkStatus extends Enum<Constants.UplinkStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description noBitLocknominalnoRfAvailableuplinkStatusNotAvailable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constants.UplinkStatusbyId(int id)intgetId()static Constants.UplinkStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Constants.UplinkStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
uplinkStatusNotAvailable
public static final Constants.UplinkStatus uplinkStatusNotAvailable
-
noRfAvailable
public static final Constants.UplinkStatus noRfAvailable
-
noBitLock
public static final Constants.UplinkStatus noBitLock
-
nominal
public static final Constants.UplinkStatus nominal
-
-
Method Detail
-
values
public static Constants.UplinkStatus[] 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 (Constants.UplinkStatus c : Constants.UplinkStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.UplinkStatus valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public int getId()
-
byId
public static Constants.UplinkStatus byId(int id)
-
-