Class UpdateAndDeploy
java.lang.Object
org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
org.nuxeo.connect.update.task.update.Update
org.nuxeo.connect.update.task.live.commands.UpdateAndDeploy
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Command
Live version of the update command, that handle hot-reloading of the jar by deploying it to the runtime.
- Since:
- 5.6
-
Field Summary
Fields inherited from class org.nuxeo.connect.update.task.update.Update
allowDowngrade, file, ID, removeOnExit, todir, upgradeOnly
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.nuxeo.connect.update.task.Command
getDeployCommand
(UpdateManager updateManager, org.nuxeo.connect.update.task.Command rollbackCommand) Method to be overridden by subclasses to provide a deploy command for hot reloadMethods inherited from class org.nuxeo.connect.update.task.update.Update
doRun, doValidate, getFile, initialize, readFrom, updateDirectory, updateFile, writeTo
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
getId, ignore, isPostInstall, run, setFail, setIgnore, setPackageUpdateService, validate
-
Constructor Details
-
UpdateAndDeploy
public UpdateAndDeploy()
-
-
Method Details
-
getDeployCommand
protected org.nuxeo.connect.update.task.Command getDeployCommand(UpdateManager updateManager, org.nuxeo.connect.update.task.Command rollbackCommand) Description copied from class:Update
Method to be overridden by subclasses to provide a deploy command for hot reload- Overrides:
getDeployCommand
in classUpdate
-