public static enum Updater.UpdateResult extends java.lang.Enum<Updater.UpdateResult>
| Enum Constant and Description |
|---|
DISABLED |
FAIL_APIKEY |
FAIL_BADID |
FAIL_DBO |
FAIL_DOWNLOAD |
FAIL_NOVERSION |
NO_UPDATE |
SUCCESS |
UPDATE_AVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static Updater.UpdateResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Updater.UpdateResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Updater.UpdateResult SUCCESS
public static final Updater.UpdateResult NO_UPDATE
public static final Updater.UpdateResult DISABLED
public static final Updater.UpdateResult FAIL_DOWNLOAD
public static final Updater.UpdateResult FAIL_DBO
public static final Updater.UpdateResult FAIL_NOVERSION
public static final Updater.UpdateResult FAIL_BADID
public static final Updater.UpdateResult FAIL_APIKEY
public static final Updater.UpdateResult UPDATE_AVAILABLE
public static Updater.UpdateResult[] values()
for (Updater.UpdateResult c : Updater.UpdateResult.values()) System.out.println(c);
public static Updater.UpdateResult 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