public class HotReloadStudioSnapshot extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DEPENDENCY_MISMATCH |
protected static String |
ERROR |
static String |
ID |
protected static String |
IN_PROGRESS |
protected org.nuxeo.connect.packages.PackageManager |
pm |
protected CoreSession |
session |
protected static String |
SUCCESS |
protected static boolean |
updateInProgress |
protected boolean |
validate |
Constructor and Description |
---|
HotReloadStudioSnapshot() |
Modifier and Type | Method and Description |
---|---|
Blob |
hotReloadPackage(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) |
protected static void |
removePackage(org.nuxeo.connect.update.PackageUpdateService pus,
org.nuxeo.connect.update.LocalPackage pkg) |
Blob |
run() |
protected static boolean |
setInProgress(boolean inProgress) |
protected boolean |
shouldValidate() |
protected static final String IN_PROGRESS
protected static final String SUCCESS
protected static final String ERROR
protected static final String DEPENDENCY_MISMATCH
public static final String ID
protected static volatile boolean updateInProgress
protected CoreSession session
protected org.nuxeo.connect.packages.PackageManager pm
protected boolean validate
public HotReloadStudioSnapshot()
protected static boolean setInProgress(boolean inProgress)
protected boolean shouldValidate()
public Blob hotReloadPackage(org.nuxeo.connect.data.DownloadablePackage remotePkg)
protected static void removePackage(org.nuxeo.connect.update.PackageUpdateService pus, org.nuxeo.connect.update.LocalPackage pkg) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
protected static void performTask(org.nuxeo.connect.update.task.Task task) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
Copyright © 2019 Nuxeo. All rights reserved.