public class UninstallHandler extends DefaultObject
Package
install management.Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
UninstallHandler() |
Modifier and Type | Method and 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 package
|
Object |
restartServer() |
Object |
startUninstall(String pkgId,
String source,
Boolean filterOnPlatform) |
disptachAdapter, isAdapter
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
protected static final org.apache.commons.logging.Log log
public UninstallHandler()
public Object startUninstall(String pkgId, String source, Boolean filterOnPlatform)
public Object doUninstall(String pkgId, String source, Boolean filterOnPlatform)
protected org.nuxeo.connect.update.task.Task performUninstall(org.nuxeo.connect.update.LocalPackage localPackage) throws org.nuxeo.connect.update.PackageException
localPackage
- Package to uninstallUninstallTask
of localPackage
org.nuxeo.connect.update.PackageException
- If uninstall fails. A rollback is done before the exception is raised.public Object restartServer()
Copyright © 2016 Nuxeo SA. All rights reserved.