Class UninstallHandler

All Implemented Interfaces:
Resource, Adaptable

public class UninstallHandler extends DefaultObject
Provides REST bindings for Package install management.
Author:
Thierry Delprat
  • Constructor Details

    • UninstallHandler

      public UninstallHandler()
  • Method Details

    • startUninstall

      public Object startUninstall(String pkgId, String source, Boolean filterOnPlatform)
    • doUninstall

      public Object doUninstall(String pkgId, String source, Boolean filterOnPlatform)
    • performUninstall

      protected org.nuxeo.connect.update.task.Task performUninstall(org.nuxeo.connect.update.LocalPackage localPackage) throws org.nuxeo.connect.update.PackageException
      Run UninstallTask of given local package
      Parameters:
      localPackage - Package to uninstall
      Returns:
      UninstallTask of localPackage
      Throws:
      org.nuxeo.connect.update.PackageException - If uninstall fails. A rollback is done before the exception is raised.
      Since:
      5.6
    • restartServer

      public Object restartServer()