public enum OperatingMode extends Enum<OperatingMode>
Enum Constant and Description |
---|
API |
API_ESCAPE |
AT |
BYPASS |
MICROPYTHON |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static OperatingMode |
get(int value)
Returns the
OperatingMode entry associated to the given value. |
int |
getID()
Returns the operating mode ID.
|
String |
getName()
Returns the operating mode name.
|
String |
toString() |
static OperatingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingMode API
public static final OperatingMode API_ESCAPE
public static final OperatingMode AT
public static final OperatingMode BYPASS
public static final OperatingMode MICROPYTHON
public static final OperatingMode UNKNOWN
public static OperatingMode get(int value)
OperatingMode
entry associated to the given value.value
- Value of the OperatingMode
to retrieve.OperatingMode
entry associated to the given value,
#UNKNOWN
if the value could not be found in the list.public int getID()
public String toString()
toString
in class Enum<OperatingMode>
public static OperatingMode 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 static OperatingMode[] values()
for (OperatingMode c : OperatingMode.values()) System.out.println(c);
© Copyright 2014 - 2024 Digi International Inc. All rights reserved.