public static enum Constants.ProductionStatus extends Enum<Constants.ProductionStatus>
| Enum Constant and Description |
|---|
halted |
interrupted |
running |
| Modifier and Type | Method and Description |
|---|---|
static Constants.ProductionStatus |
byId(int id) |
int |
getId() |
static Constants.ProductionStatus |
valueOf(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.
|
public static final Constants.ProductionStatus running
public static final Constants.ProductionStatus interrupted
public static final Constants.ProductionStatus halted
public static Constants.ProductionStatus[] values()
for (Constants.ProductionStatus c : Constants.ProductionStatus.values()) System.out.println(c);
public static Constants.ProductionStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
public static Constants.ProductionStatus byId(int id)
Copyright © 2022 Space Applications Services. All rights reserved.