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
public class UpdateAndDeploy extends Update
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, log, removeOnExit, todir, upgradeOnly
-
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
-
Constructor Summary
Constructors Constructor Description UpdateAndDeploy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 reload-
Methods 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
-
-
-
-
Method Detail
-
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
-
-