Package com.install4j.api.events
Enum Class EventType
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
,Constable
Enumeration class that represents all different event types for instances of
InstallerEvent
.
Installer events cover everything that is written to the installer log file as well
as application life-cycle events.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFired before a file has been downloaded.Fired after an action has been executed.Fired after a file has been installed.Fired after a rollback is performedFired before a file is downloaded.Fired before an action is executedFired before a file is installed.Fired before a rollback is performedFired just before the installer or uninstaller quits after having been cancelled.Fired when the installer or uninstaller is cancelled but before any cleanup has been performed.Fired after a directory has been installed.Fired before the file installation is started by the "Install files" action.Fired just before the installer or uninstaller quits.Fired when the installer or uninstaller quits but before any cleanup has been performed.Fired before a screen is shown.Fired after a variable has been set. -
Method Summary
Modifier and TypeMethodDescriptionGet a verbose message that describes the operation that is connected with this event.toString()
static EventType
Returns the enum constant of this class with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_EXECUTE_ACTION
Fired before an action is executed -
AFTER_EXECUTE_ACTION
Fired after an action has been executed. The event object will be of typeInstallerActionEvent
. -
BEFORE_ROLLBACK_ACTION
Fired before a rollback is performed -
AFTER_ROLLBACK_ACTION
Fired after a rollback is performed -
BEFORE_INSTALL_FILE
Fired before a file is installed. The event object will be of typeInstallerFileEvent
. -
AFTER_INSTALL_FILE
Fired after a file has been installed. The event object will be of typeInstallerFileEvent
. -
DIRECTORY_CREATED
Fired after a directory has been installed. The event object will be of typeInstallerDirectoryEvent
. -
BEFORE_DOWNLOAD
Fired before a file is downloaded. The event object will be of typeInstallerDownloadEvent
. -
AFTER_DOWNLOAD
Fired before a file has been downloaded. The event object will be of typeInstallerDownloadEvent
. -
SHOW_SCREEN
Fired before a screen is shown. -
FINISHING
Fired when the installer or uninstaller quits but before any cleanup has been performed. -
FINISHED
Fired just before the installer or uninstaller quits. -
CANCELLING
Fired when the installer or uninstaller is cancelled but before any cleanup has been performed. -
CANCELED
Fired just before the installer or uninstaller quits after having been cancelled. -
VARIABLE_CHANGED
Fired after a variable has been set.- See Also:
-
FILE_INSTALLATION_STARTED
Fired before the file installation is started by the "Install files" action. You can get the total size and the total file count from the event object
-
-
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
-
getOperationVerbose
Get a verbose message that describes the operation that is connected with this event.- Returns:
- the message
-
toString
-