public class LiveInstallTask extends InstallTask
commandLog, commands
env, ENV_BUNDLES, ENV_CONFIG, ENV_EAR, ENV_HOME, ENV_HOSTAPP_NAME, ENV_HOSTAPP_VERSION, ENV_LIB, ENV_SERVER_HOME, ENV_SYSLIB, ENV_TEMPLATES, ENV_TIMESTAMP, pkg, PKG_ID, PKG_NAME, PKG_ROOT, PKG_VERSION, restart, serverPathPrefix, service, updateMgr, updateMgrLoaded
Constructor and Description |
---|
LiveInstallTask(org.nuxeo.connect.update.PackageUpdateService pus) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun(Map<String,String> params)
User parameters are not handled by default.
|
protected void |
flush() |
protected static void |
reloadComponent(String name)
Deprecated.
since 5.6: see
reloadComponents(LocalPackage) |
protected static void |
reloadComponents(org.nuxeo.connect.update.LocalPackage localPackage)
Deprecated.
since 5.6: this way of reloading components is smarter because the package installed can declare what
needs to be reloaded exactly, but this is too complicated to handle, and risky given potential
dependency issues => make components listen for the "flush" event instead, @see
ReloadService |
protected void |
taskDone() |
getCommandsFile, isInstallTask, rollbackDone
addCommand, doRollback, doValidate, getCommandLog, getCommands, initialize, loadCommands, parametrizePaths, readLog, writeLog
createContextMap, getFile, getPackage, getRelativeFilePath, getUpdateManager, isRestartRequired, loadParametrizedFile, rollback, run, saveParams, setRestartRequired, validate, validateInstall
public LiveInstallTask(org.nuxeo.connect.update.PackageUpdateService pus)
protected void doRun(Map<String,String> params) throws org.nuxeo.connect.update.PackageException
CommandsTask
doRun
in class InstallTask
org.nuxeo.connect.update.PackageException
protected void taskDone() throws org.nuxeo.connect.update.PackageException
taskDone
in class InstallTask
org.nuxeo.connect.update.PackageException
@Deprecated protected static void reloadComponents(org.nuxeo.connect.update.LocalPackage localPackage) throws org.nuxeo.connect.update.PackageException
ReloadService
org.nuxeo.connect.update.PackageException
@Deprecated protected static void reloadComponent(String name) throws org.nuxeo.connect.update.PackageException
reloadComponents(LocalPackage)
org.nuxeo.connect.update.PackageException
protected void flush() throws org.nuxeo.connect.update.PackageException
flush
in class InstallTask
org.nuxeo.connect.update.PackageException
Copyright © 2015 Nuxeo SA. All rights reserved.