com.install4j.api.events (install4j API)
Description: declaration: package: com.install4j.api.events

# Package com.install4j.api.events

package com.install4j.api.events
This package contains classes that allow you to listen for events generated by the installer.

See the API overview for general remarks on how to use the install4j API.

All messages that are written to the installer log are also fired as events. Events include performing actions, displaying screens, installing files as well as application life-cycle events of the installer or uninstaller.

You can register `InstallerEventListener` objects in the context (base class `Context`).

- Related Packages
  Package
  Description
  com.install4j.api
  This package contains general utility classes for the install4j API.
- Class
  Description
  EventType
  Enumeration class that represents all different event types for instances of `InstallerEvent`.
  InstallerActionEvent
  The event object that is passed to installer event listeners after an action has been executed.
  InstallerDirectoryEvent
  The event object that is passed to installer event listeners for the directory creation event.
  InstallerDownloadEvent
  The event object that is passed to installer event listeners for download events types.
  InstallerDownloadEvent.DownloadProgressListener
  A listener that is informed about the progress of a download.
  InstallerEvent
  The event object that is passed to installer event listeners.
  InstallerEventListener
  The interface that must be implemented by classes who are interested in installer events.
  InstallerFileEvent
  The event object that is passed to installer event listeners for single file installation events types.
  InstallerFileInstallationEvent
  The event object that is passed to installer event listeners when the file installation is started.
  InstallerVariableEvent
  The event object that is passed to installer event listeners for the variable change event type.