Class HotReloadStudioSnapshot


  • public class HotReloadStudioSnapshot
    extends Object
    Operation to trigger a Hot reload of the Studio Snapshot package. You must be an administrator to trigger it.
    Since:
    8.2
    • Constructor Detail

      • HotReloadStudioSnapshot

        public HotReloadStudioSnapshot()
    • Method Detail

      • setInProgress

        protected static boolean setInProgress​(boolean inProgress)
      • shouldValidate

        protected boolean shouldValidate()
      • hotReloadPackage

        public Blob hotReloadPackage​(org.nuxeo.connect.data.DownloadablePackage remotePkg)
      • removePackage

        protected static void removePackage​(org.nuxeo.connect.update.PackageUpdateService pus,
                                            org.nuxeo.connect.update.LocalPackage pkg)
                                     throws org.nuxeo.connect.update.PackageException
        Throws:
        org.nuxeo.connect.update.PackageException
      • performTask

        protected static void performTask​(org.nuxeo.connect.update.task.Task task)
                                   throws org.nuxeo.connect.update.PackageException
        Throws:
        org.nuxeo.connect.update.PackageException