Package org.nuxeo.connect.client.vindoz
Class InstallAfterRestart
java.lang.Object
org.nuxeo.connect.client.vindoz.InstallAfterRestart
Helper class used to manage packages installation issue under windows systems.
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).
- Author:
- Tiry ([email protected])
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPackageForInstallation
(String pkgNameOrId) static void
addPackageForUnInstallation
(String pkgNameOrId) protected static boolean
static boolean
isMarkedForInstallAfterRestart
(String pkgNameOrId) static boolean
isMarkedForUninstallAfterRestart
(String pkgName) protected static boolean
static boolean
isNeededForPackage
(org.nuxeo.connect.update.Package pkg) Returns true if a restart should be triggered after installprotected static void
-
Field Details
-
FILE_NAME
- See Also:
-
FAKE_VIDOZ
- See Also:
-
pkgNameOrIds
-
uninstallpkgNameOrIds
-
-
Constructor Details
-
InstallAfterRestart
public InstallAfterRestart()
-
-
Method Details
-
isNeededByOs
protected static boolean isNeededByOs() -
isNeededForPackage
public static boolean isNeededForPackage(org.nuxeo.connect.update.Package pkg) Returns true if a restart should be triggered after install -
isDevMode
protected static boolean isDevMode() -
addPackageForInstallation
-
addPackageForUnInstallation
-
isMarkedForInstallAfterRestart
-
savePkgList
protected static void savePkgList() -
isMarkedForUninstallAfterRestart
- Since:
- 5.6
-