Package org.yamcs.sle
Enum Constants.ProductionStatus
- java.lang.Object
-
- java.lang.Enum<Constants.ProductionStatus>
-
- org.yamcs.sle.Constants.ProductionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Constants.ProductionStatus>
- Enclosing class:
- Constants
public static enum Constants.ProductionStatus extends Enum<Constants.ProductionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description haltedinterruptedrunning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constants.ProductionStatusbyId(int id)intgetId()static Constants.ProductionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Constants.ProductionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
running
public static final Constants.ProductionStatus running
-
interrupted
public static final Constants.ProductionStatus interrupted
-
halted
public static final Constants.ProductionStatus halted
-
-
Method Detail
-
values
public static Constants.ProductionStatus[] 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.ProductionStatus c : Constants.ProductionStatus.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.ProductionStatus 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.ProductionStatus byId(int id)
-
-