Interface AddOnUninstallationProgressCallback


  • public interface AddOnUninstallationProgressCallback
    A callback that receives updates of the uninstallation progress of an AddOn.
    Since:
    2.4.0
    See Also:
    AddOn
    • Method Detail

      • uninstallingAddOn

        void uninstallingAddOn​(AddOn addOn,
                               boolean updating)
        Called before uninstalling the add-on.
        Parameters:
        addOn - the add-on that will be uninstalled
        updating - true if the add-on is being uninstalled to install a new version, false otherwise
      • activeScanRulesWillBeRemoved

        void activeScanRulesWillBeRemoved​(int numberOfRules)
        Called before removing the active scanners of the add-on.
        Parameters:
        numberOfRules - the number of active scanners that will be removed
      • activeScanRuleRemoved

        void activeScanRuleRemoved​(java.lang.String name)
        Called after an active scanner has been removed.
        Parameters:
        name - the name of the active scanner that was removed
        See Also:
        Plugin.getName()
      • passiveScanRulesWillBeRemoved

        void passiveScanRulesWillBeRemoved​(int numberOfRules)
        Called before removing the passive scanners of the add-on.
        Parameters:
        numberOfRules - the number of passive scanners that will be removed
      • passiveScanRuleRemoved

        void passiveScanRuleRemoved​(java.lang.String name)
        Called after a passive scanner has been removed.
        Parameters:
        name - the name of the passive scanner that was removed
        See Also:
        PassiveScanner.getName()
      • filesWillBeRemoved

        void filesWillBeRemoved​(int numberOfFiles)
        Called before removing the files of the add-on.
        Parameters:
        numberOfFiles - the number of files that will be removed
      • fileRemoved

        void fileRemoved()
        Called after a file has been removed.
      • extensionsWillBeRemoved

        void extensionsWillBeRemoved​(int numberOfExtensions)
        Called before removing the extensions of the add-on.
        Parameters:
        numberOfExtensions - the number of extensions that will be removed
      • extensionRemoved

        void extensionRemoved​(java.lang.String name)
        Called after an extension has been removed.
        Parameters:
        name - the (UI) name of the extension that was removed
        See Also:
        Extension.getUIName()
      • addOnUninstalled

        void addOnUninstalled​(boolean uninstalled)
        Called after uninstalling the add-on.
        Parameters:
        uninstalled - true if the add-on was successfully uninstalled , false otherwise