Enum Class UpdatesChecker.ActionIfNoUpdatesFound
java.lang.Object
java.lang.Enum<UpdatesChecker.ActionIfNoUpdatesFound>
com.amalgamasimulation.desktop.updater.UpdatesChecker.ActionIfNoUpdatesFound
- All Implemented Interfaces:
Serializable,Comparable<UpdatesChecker.ActionIfNoUpdatesFound>,Constable
- Enclosing class:
UpdatesChecker
public static enum UpdatesChecker.ActionIfNoUpdatesFound
extends Enum<UpdatesChecker.ActionIfNoUpdatesFound>
UI action in case no updates have been found at the update site.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo dialog is shown.Shows a dialog informing that no updates were found. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHOW_MESSAGE_NO_UPDATES_FOUND
Shows a dialog informing that no updates were found. -
DO_NOT_SHOW_MESSAGE
No dialog is shown.
-
-
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
-