public enum UpdateStatus extends Enum<UpdateStatus>
Contains the current software update status.
Used in the SoftwareUpdate response returned by the treminal.
The following values are valid:
Specification: retail.
Enum Constant and Description |
---|
RUNNING_NO_REBOOT
The software update is running.
|
RUNNING_REBOOT
The software update is running.
|
UP_TO_DATE
The actual software is up to date and no software update will be made.
|
Modifier and Type | Method and Description |
---|---|
static UpdateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateStatus UP_TO_DATE
The actual software is up to date and no software update will be made.
Specification: retail.
public static final UpdateStatus RUNNING_NO_REBOOT
The software update is running. No terminal reboot is needed to complete it.
Specification: retail.
public static final UpdateStatus RUNNING_REBOOT
The software update is running. At least one (or more) terminal reboot(s) is/are needed to complete it.
Specification: retail.
public static UpdateStatus[] values()
for (UpdateStatus c : UpdateStatus.values()) System.out.println(c);
public static UpdateStatus 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 null