public class InstallTask extends CommandsTask
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 |
---|
InstallTask(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 File |
getCommandsFile()
Get the commands file from where to load commands for this task.
|
boolean |
isInstallTask() |
protected void |
rollbackDone() |
protected void |
taskDone() |
addCommand, doRollback, doValidate, getCommandLog, getCommands, initialize, loadCommands, parametrizePaths, readLog, writeLog
createContextMap, getFile, getPackage, getRelativeFilePath, getUpdateManager, isRestartRequired, loadParametrizedFile, rollback, run, saveParams, setRestartRequired, validate, validateInstall
public InstallTask(org.nuxeo.connect.update.PackageUpdateService pus)
public boolean isInstallTask()
isInstallTask
in class AbstractTask
protected File getCommandsFile() throws org.nuxeo.connect.update.PackageException
CommandsTask
getCommandsFile
in class CommandsTask
org.nuxeo.connect.update.PackageException
protected void doRun(Map<String,String> params) throws org.nuxeo.connect.update.PackageException
CommandsTask
doRun
in class CommandsTask
org.nuxeo.connect.update.PackageException
protected void rollbackDone() throws org.nuxeo.connect.update.PackageException
rollbackDone
in class AbstractTask
org.nuxeo.connect.update.PackageException
protected void taskDone() throws org.nuxeo.connect.update.PackageException
taskDone
in class AbstractTask
org.nuxeo.connect.update.PackageException
protected void flush() throws org.nuxeo.connect.update.PackageException
flush
in class CommandsTask
org.nuxeo.connect.update.PackageException
Copyright © 2017 Nuxeo. All rights reserved.