Class Undeploy
java.lang.Object
org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
org.nuxeo.connect.update.task.standalone.commands.UndeployPlaceholder
org.nuxeo.connect.update.task.live.commands.Undeploy
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Command
Undeploy a runtime bundle, or a directory containing runtime bundles.
The inverse of this command is Deploy.
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.UndeployPlaceholder
file, ID
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.nuxeo.connect.update.task.Command
Override to implement command actionsprotected void
undeployDirectory
(File dir, ReloadService service) protected void
undeployFile
(File file, ReloadService service) Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.UndeployPlaceholder
doValidate, readFrom, writeTo
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
getId, ignore, initialize, isPostInstall, run, setFail, setIgnore, setPackageUpdateService, validate
-
Constructor Details
-
Undeploy
public Undeploy() -
Undeploy
-
-
Method Details
-
doRun
protected org.nuxeo.connect.update.task.Command doRun(org.nuxeo.connect.update.task.Task task, Map<String, String> prefs) throws org.nuxeo.connect.update.PackageExceptionDescription copied from class:AbstractCommand
Override to implement command actions- Overrides:
doRun
in classUndeployPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-
undeployFile
protected void undeployFile(File file, ReloadService service) throws org.osgi.framework.BundleException - Throws:
org.osgi.framework.BundleException
-
undeployDirectory
protected void undeployDirectory(File dir, ReloadService service) throws org.osgi.framework.BundleException - Throws:
org.osgi.framework.BundleException
-