public enum FirmwareUpdateState extends Enum<FirmwareUpdateState>
| Enum Constant and Description |
|---|
aborted |
erasingMemory |
start |
stop |
updating |
uploading |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
toString() |
static FirmwareUpdateState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirmwareUpdateState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirmwareUpdateState start
public static final FirmwareUpdateState stop
public static final FirmwareUpdateState erasingMemory
public static final FirmwareUpdateState uploading
public static final FirmwareUpdateState updating
public static final FirmwareUpdateState aborted
public static FirmwareUpdateState[] values()
for (FirmwareUpdateState c : FirmwareUpdateState.values()) System.out.println(c);
public static FirmwareUpdateState 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 getCode()
public String toString()
toString in class Enum<FirmwareUpdateState>