Package org.nuxeo.connect.client.we
Class UninstallHandler
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.connect.client.we.UninstallHandler
Provides REST bindings for
Package
install management.- Author:
- Thierry Delprat
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoUninstall
(String pkgId, String source, Boolean filterOnPlatform) protected org.nuxeo.connect.update.task.Task
performUninstall
(org.nuxeo.connect.update.LocalPackage localPackage) Run UninstallTask of given local packagestartUninstall
(String pkgId, String source, Boolean filterOnPlatform) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Constructor Details
-
UninstallHandler
public UninstallHandler()
-
-
Method Details
-
startUninstall
-
doUninstall
-
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
oflocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
- If uninstall fails. A rollback is done before the exception is raised.- Since:
- 5.6
-
restartServer
-