All Implemented Interfaces:
org.nuxeo.connect.update.task.Command

public class Deploy extends DeployPlaceholder
Deploy a runtime bundle, or a directory containing runtime bundles.

The inverse of this command is Undeploy.

Author:
Bogdan Stefanescu
  • Constructor Details

    • Deploy

      public Deploy()
    • Deploy

      public Deploy(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 DeployPlaceholder
      Returns:
      Rollback command
      Throws:
      org.nuxeo.connect.update.PackageException
    • deployFile

      protected Undeploy deployFile(File file, ReloadService service) throws org.nuxeo.connect.update.PackageException
      Throws:
      org.nuxeo.connect.update.PackageException
    • deployDirectory

      protected CompositeCommand deployDirectory(File dir, ReloadService service) throws org.nuxeo.connect.update.PackageException
      Throws:
      org.nuxeo.connect.update.PackageException