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
  • Constructor Details

    • Undeploy

      public Undeploy()
    • Undeploy

      public Undeploy(File file)
  • 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.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
    • 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