Interface AssemblyListener


public interface AssemblyListener
Listener for Assembly-related events.
Since:
1.0
Version:
2023-01-20
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onInstall(Assembly assembly)
    Called to install components associated with the specified assembly.
    default void
    Called when an Assembly has finished installing.
    default void
    Called when an Assembly has finished uninstalling.
    default void
    Called when an Assembly is about to be installed.
    default void
    Called when an Assembly is about to be uninstalled.
    default void
    Called to uninstall all components associated with the specified assembly.
  • Method Details

    • onPreInstall

      default void onPreInstall(Assembly assembly)
      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

      default void onInstall(Assembly assembly)
      Called to install components associated with the specified assembly. Override as needed.
    • onPostInstall

      default void onPostInstall(Assembly assembly)
      Called when an Assembly has finished installing. Allows listeners to react to the new state associated with the installation. Override as needed.
    • onPreUninstall

      default void onPreUninstall(Assembly assembly)
      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

      default void onUninstall(Assembly assembly)
      Called to uninstall all components associated with the specified assembly. Override to remove components.
    • onPostUninstall

      default void onPostUninstall(Assembly assembly)
      Called when an Assembly has finished uninstalling. Allows listeners to react to the new state resulting from the uninstall.