Package net.sourceforge.jnlp
Enum UpdateDesc.Check
- All Implemented Interfaces:
Serializable
,Comparable<UpdateDesc.Check>
,java.lang.constant.Constable
- Enclosing class:
- UpdateDesc
Describes when/how long to check for updates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways check for updates before launching the applicationCheck for application updates in the backgroundDefault. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateDesc.Check
Returns the enum constant of this type with the specified name.static UpdateDesc.Check[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always check for updates before launching the application -
TIMEOUT
Default. Check for updates until a certain timeout. If the update check is not completed by timeout, launch the cached application and continue updating in the background -
BACKGROUND
Check for application updates in the background
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-