Package com.install4j.api.update
Enum Class ApplicationDisplayMode
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationDisplayMode>
,Constable
Enumeration class that represents the different display modes. These values are used as an argument for
UpdateChecker.getUpdateDescriptor(String, ApplicationDisplayMode)
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe invoking application runs on the command line.The invoking application runs with a Swing GUI.The invoking application does not take user input from a GUI or on the command line. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationDisplayMode
getFromIntValue
(int value) Convert int value to constant.int
Convert to an int value.toString()
static ApplicationDisplayMode
Returns the enum constant of this class with the specified name.static ApplicationDisplayMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GUI
The invoking application runs with a Swing GUI. Displaying a proxy dialog is acceptable. -
CONSOLE
The invoking application runs on the command line. Asking for proxy information on the command line is acceptable. -
UNATTENDED
The invoking application does not take user input from a GUI or on the command line. Proxy information cannot be supplied by the user.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIntValue
public int getIntValue()Convert to an int value.- Returns:
- the int value
-
getFromIntValue
Convert int value to constant.- Parameters:
value
- the int value- Returns:
- the constant
-
toString
- Overrides:
toString
in classEnum<ApplicationDisplayMode>
-