public enum OperationMode extends java.lang.Enum<OperationMode>
| Modifier and Type | Method and Description |
|---|---|
static OperationMode |
fromValue(int value)
Gets an operation mode from its byte value.
|
byte |
getCode()
Gets the byte value of the operation mode.
|
static java.lang.String[] |
names()
Returns an array containing the names of the operation mode constants.
|
java.lang.String |
toString()
Returns the string message of the operation mode.
|
byte |
value()
Gets the byte value of the operation mode.
|
static OperationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMode wedge
public static final OperationMode auto
public static final OperationMode batch
public static OperationMode[] values()
for (OperationMode c : OperationMode.values()) System.out.println(c);
public static OperationMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte value()
public byte getCode()
public java.lang.String toString()
toString in class java.lang.Enum<OperationMode>public static OperationMode fromValue(int value) throws java.lang.IllegalArgumentException
value - The byte value of the operation mode.java.lang.IllegalArgumentException - If the byte value does not correspond to any operation mode.public static java.lang.String[] names()