public enum OperationalStatus extends Enum<OperationalStatus> implements Serializable
| Enum Constant and Description |
|---|
Disabled
The component is not operational.
|
Enabled
The component is operational.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the OperationalStatus enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static OperationalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationalStatus Disabled
public static final OperationalStatus Enabled
public static OperationalStatus[] values()
for (OperationalStatus c : OperationalStatus.values()) System.out.println(c);
public static OperationalStatus 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 getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018 ODPi. All rights reserved.