public static enum UpdateDesc.Policy extends java.lang.Enum<UpdateDesc.Policy>
| Enum Constant and Description |
|---|
ALWAYS
Default.
|
PROMPT_RUN
Prompts the user asking to download and run the latest version of the
application or abort running
|
PROMPT_UPDATE
Prompt the user asking whether the user wants to download and run the
updated application or run the version in the cache
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateDesc.Policy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateDesc.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateDesc.Policy ALWAYS
public static final UpdateDesc.Policy PROMPT_UPDATE
public static final UpdateDesc.Policy PROMPT_RUN
public static UpdateDesc.Policy[] values()
for (UpdateDesc.Policy c : UpdateDesc.Policy.values()) System.out.println(c);
public static UpdateDesc.Policy 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