public enum UpdateState extends java.lang.Enum<UpdateState>
Enum Constant and Description |
---|
Available
An uppdate is available.
|
Canceled
Update has been canceled.
|
Downloaded
Update has been successfully downloaded.
|
Downloading
Update is being downloaded currently.
|
Error
An error occurred while updating.
|
Installed
Update has been successfully installed.
|
Installing
Update is being installed currently.
|
Invalid
Invalid / not set update state.
|
Maintenance
Update service currently is in maintenance mode.
|
NotAvailable
No update available.
|
UserInteraction
Update requires user interaction to continue.
|
Modifier and Type | Method and Description |
---|---|
static UpdateState |
fromValue(long v) |
static UpdateState |
fromValue(java.lang.String v) |
int |
value() |
static UpdateState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateState Invalid
public static final UpdateState Available
public static final UpdateState NotAvailable
public static final UpdateState Downloading
public static final UpdateState Downloaded
public static final UpdateState Installing
public static final UpdateState Installed
public static final UpdateState UserInteraction
public static final UpdateState Canceled
public static final UpdateState Maintenance
public static final UpdateState Error
public static UpdateState[] values()
for (UpdateState c : UpdateState.values()) System.out.println(c);
public static UpdateState 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 int value()
public static UpdateState fromValue(long v)
public static UpdateState fromValue(java.lang.String v)