Package com.install4j.api.actions

This package contains the interfaces and abstract base classes for actions.

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

The Action interface is a marker interface that indicates that a bean is an action. The concrete interfaces are InstallAction and UninstallAction. AutoUninstallAction is implemented by install actions that wish to automatically be invoked during the uninstallation in order to revert their changes.

When you develop your own actions, it is recommended that you extend one of the abstract base classes in this package rather than implement the interfaces themselves.

Actions that run the elevated helper process - either because the bean info requires elevation or the user configured it in the IDE - must not declare non-serializable fields. If such fields are required for some purpose at runtime, declare them as transient, for example

 private transient Process process;