public class InstallAfterRestart extends Object
Because the Windows OS locks all the jar files loaded by the JVM, we can not do proper installation. So installation is delayed until next restart where installation is done before Nuxeo starts (and loads the jars).
Modifier and Type | Field and Description |
---|---|
static String |
FAKE_VIDOZ |
static String |
FILE_NAME |
Constructor and Description |
---|
InstallAfterRestart() |
Modifier and Type | Method and Description |
---|---|
static void |
addPackageForInstallation(String pkgNameOrId) |
static void |
addPackageForUnInstallation(String pkgNameOrId) |
static boolean |
isMarkedForInstallAfterRestart(String pkgNameOrId) |
static boolean |
isMarkedForUninstallAfterRestart(String pkgName) |
static boolean |
isNeededForPackage(org.nuxeo.connect.update.Package pkg)
Returns true if a restart should be triggered after install
|
public static final String FILE_NAME
public static final String FAKE_VIDOZ
public static boolean isNeededForPackage(org.nuxeo.connect.update.Package pkg)
public static void addPackageForInstallation(String pkgNameOrId)
public static void addPackageForUnInstallation(String pkgNameOrId)
public static boolean isMarkedForInstallAfterRestart(String pkgNameOrId)
public static boolean isMarkedForUninstallAfterRestart(String pkgName)
Copyright © 2015 Nuxeo SA. All rights reserved.