Class LiveInstallTask

    • Constructor Detail

      • LiveInstallTask

        public LiveInstallTask​(org.nuxeo.connect.update.PackageUpdateService pus)
    • Method Detail

      • doRun

        protected void doRun​(Map<String,​String> params)
                      throws org.nuxeo.connect.update.PackageException
        Description copied from class: CommandsTask
        User parameters are not handled by default. You need to implement your own task to do this.
        Overrides:
        doRun in class InstallTask
        Throws:
        org.nuxeo.connect.update.PackageException
      • taskDone

        protected void taskDone()
                         throws org.nuxeo.connect.update.PackageException
        Overrides:
        taskDone in class InstallTask
        Throws:
        org.nuxeo.connect.update.PackageException
      • reloadComponents

        @Deprecated
        protected static void reloadComponents​(org.nuxeo.connect.update.LocalPackage localPackage)
                                        throws org.nuxeo.connect.update.PackageException
        Deprecated.
        since 5.6: this way of reloading components is smarter because the package installed can declare what needs to be reloaded exactly, but this is too complicated to handle, and risky given potential dependency issues => make components listen for the "flush" event instead, @see ReloadService
        Throws:
        org.nuxeo.connect.update.PackageException
      • reloadComponent

        @Deprecated
        protected static void reloadComponent​(String name)
                                       throws org.nuxeo.connect.update.PackageException
        Deprecated.
        Throws:
        org.nuxeo.connect.update.PackageException
      • flush

        protected void flush()
                      throws org.nuxeo.connect.update.PackageException
        Overrides:
        flush in class InstallTask
        Throws:
        org.nuxeo.connect.update.PackageException