public static enum ScannerStatus.Code extends java.lang.Enum<ScannerStatus.Code>
Enum Constant and Description |
---|
CONNECTED |
DISCONNECTED |
ERROR |
UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
static ScannerStatus.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerStatus.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerStatus.Code CONNECTED
public static final ScannerStatus.Code DISCONNECTED
public static final ScannerStatus.Code UNAVAILABLE
public static final ScannerStatus.Code ERROR
public static ScannerStatus.Code[] values()
for (ScannerStatus.Code c : ScannerStatus.Code.values()) System.out.println(c);
public static ScannerStatus.Code 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 null