Class 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
    • 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 class UndeployPlaceholder
        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