Class InstallTask
java.lang.Object
org.nuxeo.connect.update.task.standalone.AbstractTask
org.nuxeo.connect.update.task.standalone.CommandsTask
org.nuxeo.connect.update.task.standalone.InstallTask
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Task
- Direct Known Subclasses:
LiveInstallTask
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.connect.update.task.standalone.CommandsTask
commandLog, commands
Fields inherited from class org.nuxeo.connect.update.task.standalone.AbstractTask
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 Summary
-
Method Summary
Methods inherited from class org.nuxeo.connect.update.task.standalone.CommandsTask
addCommand, doRollback, doValidate, getCommandLog, getCommands, initialize, loadCommands, parametrizePaths, readLog, writeLog
Methods inherited from class org.nuxeo.connect.update.task.standalone.AbstractTask
createContextMap, getFile, getPackage, getRelativeFilePath, getUpdateManager, isRestartRequired, loadParametrizedFile, rollback, run, saveParams, setRestartRequired, validate, validateInstall
-
Constructor Details
-
InstallTask
public InstallTask(org.nuxeo.connect.update.PackageUpdateService pus)
-
-
Method Details
-
isInstallTask
public boolean isInstallTask()- Specified by:
isInstallTask
in classAbstractTask
-
getCommandsFile
Description copied from class:CommandsTask
Get the commands file from where to load commands for this task.- Specified by:
getCommandsFile
in classCommandsTask
- Throws:
org.nuxeo.connect.update.PackageException
-
doRun
Description copied from class:CommandsTask
User parameters are not handled by default. You need to implement your own task to do this.- Overrides:
doRun
in classCommandsTask
- Throws:
org.nuxeo.connect.update.PackageException
-
rollbackDone
protected void rollbackDone() throws org.nuxeo.connect.update.PackageException- Specified by:
rollbackDone
in classAbstractTask
- Throws:
org.nuxeo.connect.update.PackageException
-
taskDone
protected void taskDone() throws org.nuxeo.connect.update.PackageException- Specified by:
taskDone
in classAbstractTask
- Throws:
org.nuxeo.connect.update.PackageException
-
flush
protected void flush() throws org.nuxeo.connect.update.PackageException- Specified by:
flush
in classCommandsTask
- Throws:
org.nuxeo.connect.update.PackageException
-