Package org.nuxeo.ecm.admin.operation
Class HotReloadStudioSnapshot
java.lang.Object
org.nuxeo.ecm.admin.operation.HotReloadStudioSnapshot
Operation to trigger a Hot reload of the Studio Snapshot package. You must be an administrator to trigger it.
- Since:
- 8.2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhotReloadPackage
(org.nuxeo.connect.data.DownloadablePackage remotePkg) protected static Blob
jsonHelper
(String status, String message, List<String> dependencies) protected static void
performTask
(org.nuxeo.connect.update.task.Task task) run()
protected static boolean
setInProgress
(boolean inProgress) protected boolean
-
Field Details
-
IN_PROGRESS
- See Also:
-
SUCCESS
- See Also:
-
ERROR
- See Also:
-
DEPENDENCY_MISMATCH
- See Also:
-
ID
- See Also:
-
updateInProgress
protected static volatile boolean updateInProgress -
session
-
pm
protected org.nuxeo.connect.packages.PackageManager pm -
validate
protected boolean validate
-
-
Constructor Details
-
HotReloadStudioSnapshot
public HotReloadStudioSnapshot()
-
-
Method Details
-
setInProgress
protected static boolean setInProgress(boolean inProgress) -
run
- Throws:
Exception
-
shouldValidate
protected boolean shouldValidate() -
hotReloadPackage
-
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
-