Class HotReloadStudioSnapshot

java.lang.Object
org.nuxeo.ecm.admin.operation.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
  • Field Details

  • Constructor Details

    • HotReloadStudioSnapshot

      public HotReloadStudioSnapshot()
  • Method Details

    • setInProgress

      protected static boolean setInProgress(boolean inProgress)
    • run

      public Blob run() throws Exception
      Throws:
      Exception
    • shouldValidate

      protected boolean shouldValidate()
    • hotReloadPackage

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

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

      protected static Blob jsonHelper(String status, String message, List<String> dependencies)