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
public class Undeploy extends UndeployPlaceholder
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
_undeployDirectory(File dir, ReloadService service)
protected void
_undeployFile(File file, ReloadService service)
protected void
doCompatRun(org.nuxeo.connect.update.task.Task task)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibilityprotected org.nuxeo.connect.update.task.Command
doRun(org.nuxeo.connect.update.task.Task task, Map<String,String> prefs)
Override to implement command actionsprotected void
undeployDirectory(File dir, ReloadService service)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibilityprotected void
undeployFile(File file, ReloadService service)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility-
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 Detail
-
Undeploy
public Undeploy()
-
Undeploy
public Undeploy(File file)
-
-
Method Detail
-
undeployFile
@Deprecated protected void undeployFile(File file, ReloadService service) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- Throws:
org.nuxeo.connect.update.PackageException
-
undeployDirectory
@Deprecated protected void undeployDirectory(File dir, ReloadService service) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- Throws:
org.nuxeo.connect.update.PackageException
-
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.PackageException
Description copied from class:AbstractCommand
Override to implement command actions- Overrides:
doRun
in classUndeployPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-
doCompatRun
@Deprecated protected void doCompatRun(org.nuxeo.connect.update.task.Task task) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- 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
-
-