Interface InstallationActions


  • public interface InstallationActions
    The interface implemented by installer scripts and classes for plug-in bundles. An installer is listed in a plug-in bundle's root file by adding an installer key. The value of the key must identify a script or class that implements this interface.

    Do not assume that the user interface is available when the methods in this interface are invoked. For example, you should not use ErrorDialog to display error messages. You may, however, write messages to the application log.

    Since:
    3.0
    Author:
    Chris Jennings
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void install​(PluginBundle bundle)
      Called when a plug-in bundle is being installed before any plug-ins in the bundle are instantiated.
      void uninstall​(PluginBundle bundle)
      Called when a plug-in bundle is being uninstalled before the bundle file is deleted.
    • Method Detail

      • install

        void install​(PluginBundle bundle)
        Called when a plug-in bundle is being installed before any plug-ins in the bundle are instantiated.
        Parameters:
        bundle - the bundle being installed
      • uninstall

        void uninstall​(PluginBundle bundle)
        Called when a plug-in bundle is being uninstalled before the bundle file is deleted.
        Parameters:
        bundle - the bundle being uninstalled