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
-
public class UninstallHandler extends DefaultObject
Provides REST bindings forPackage
install management.- Author:
- Thierry Delprat
-
-
Constructor Summary
Constructors Constructor Description UninstallHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
doUninstall(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 packageObject
restartServer()
Object
startUninstall(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
-
-
-
-
Field Detail
-
log
protected static final Log log
-
-
Method Detail
-
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
public Object restartServer()
-
-