public enum ScannerStatus extends Enum<ScannerStatus>
| Enum Constant and Description |
|---|
CREATED |
DISPOSED |
ERROR |
SCANNING |
STARTED |
STOPPED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ScannerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerStatus UNKNOWN
public static final ScannerStatus CREATED
public static final ScannerStatus STARTED
public static final ScannerStatus SCANNING
public static final ScannerStatus STOPPED
public static final ScannerStatus DISPOSED
public static final ScannerStatus ERROR
public static ScannerStatus[] values()
for (ScannerStatus c : ScannerStatus.values()) System.out.println(c);
public static ScannerStatus 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 nullCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.