Class Deploy

  • 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
    • Method Detail

      • deployFile

        @Deprecated
        protected Undeploy deployFile​(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
      • deployDirectory

        @Deprecated
        protected CompositeCommand deployDirectory​(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 DeployPlaceholder
        Returns:
        Rollback command
        Throws:
        org.nuxeo.connect.update.PackageException
      • doCompatRun

        @Deprecated
        protected org.nuxeo.connect.update.task.Command doCompatRun​(ReloadService srv)
                                                             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
      • _deployFile

        protected Undeploy _deployFile​(File file,
                                       ReloadService service)
                                throws org.nuxeo.connect.update.PackageException
        Throws:
        org.nuxeo.connect.update.PackageException