public enum ApplicationDisplayMode extends java.lang.Enum<ApplicationDisplayMode>
UpdateChecker.getUpdateDescriptor(String, ApplicationDisplayMode)
.Enum Constant and Description |
---|
CONSOLE
The invoking application runs on the command line.
|
GUI
The invoking application runs with a Swing GUI.
|
UNATTENDED
The invoking application does not take user input from a GUI or on the command line.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationDisplayMode |
getFromIntValue(int value)
Convert int value to constant.
|
int |
getIntValue()
Convert to an int value.
|
java.lang.String |
toString() |
static ApplicationDisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationDisplayMode GUI
public static final ApplicationDisplayMode CONSOLE
public static final ApplicationDisplayMode UNATTENDED
public static ApplicationDisplayMode[] values()
for (ApplicationDisplayMode c : ApplicationDisplayMode.values()) System.out.println(c);
public static ApplicationDisplayMode 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 getIntValue()
public static ApplicationDisplayMode getFromIntValue(int value)
value
- the int valuepublic java.lang.String toString()
toString
in class java.lang.Enum<ApplicationDisplayMode>