Interface AssemblyListener
public interface AssemblyListener
Listener for Assembly-related events.
- Since:
- 1.0
- Version:
- 2023-01-20
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled to install components associated with the specified assembly.default voidonPostInstall(Assembly assembly) Called when an Assembly has finished installing.default voidonPostUninstall(Assembly assembly) Called when an Assembly has finished uninstalling.default voidonPreInstall(Assembly assembly) Called when an Assembly is about to be installed.default voidonPreUninstall(Assembly assembly) Called when an Assembly is about to be uninstalled.default voidonUninstall(Assembly assembly) Called to uninstall all components associated with the specified assembly.
-
Method Details
-
onPreInstall
Called when an Assembly is about to be installed. Allows listeners to prepare for the install process, which could cause significant state changes. Override as needed. -
onInstall
Called to install components associated with the specified assembly. Override as needed. -
onPostInstall
Called when an Assembly has finished installing. Allows listeners to react to the new state associated with the installation. Override as needed. -
onPreUninstall
Called when an Assembly is about to be uninstalled. Allows listeners to prepare for the uninstall process, which could cause significant state changes. Override as needed. -
onUninstall
Called to uninstall all components associated with the specified assembly. Override to remove components. -
onPostUninstall
Called when an Assembly has finished uninstalling. Allows listeners to react to the new state resulting from the uninstall.
-