Class Deploy
java.lang.Object
org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
org.nuxeo.connect.update.task.standalone.commands.DeployPlaceholder
org.nuxeo.connect.update.task.live.commands.Deploy
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Command
Deploy a runtime bundle, or a directory containing runtime bundles.
The inverse of this command is Undeploy.
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.DeployPlaceholder
file, ID
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CompositeCommand
deployDirectory
(File dir, ReloadService service) protected Undeploy
deployFile
(File file, ReloadService service) protected org.nuxeo.connect.update.task.Command
Override to implement command actionsMethods inherited from class org.nuxeo.connect.update.task.standalone.commands.DeployPlaceholder
doValidate, readFrom, writeTo
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
getId, ignore, initialize, isPostInstall, run, setFail, setIgnore, setPackageUpdateService, validate
-
Constructor Details
-
Deploy
public Deploy() -
Deploy
-
-
Method Details
-
doRun
protected org.nuxeo.connect.update.task.Command doRun(org.nuxeo.connect.update.task.Task task, Map<String, String> prefs) throws org.nuxeo.connect.update.PackageExceptionDescription copied from class:AbstractCommand
Override to implement command actions- Overrides:
doRun
in classDeployPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-
deployFile
protected Undeploy deployFile(File file, ReloadService service) throws org.nuxeo.connect.update.PackageException - Throws:
org.nuxeo.connect.update.PackageException
-
deployDirectory
protected CompositeCommand deployDirectory(File dir, ReloadService service) throws org.nuxeo.connect.update.PackageException - Throws:
org.nuxeo.connect.update.PackageException
-