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
public class Deploy extends DeployPlaceholder
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CompositeCommand
_deployDirectory(File dir, ReloadService service)
protected Undeploy
_deployFile(File file, ReloadService service)
protected CompositeCommand
deployDirectory(File dir, ReloadService service)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibilityprotected Undeploy
deployFile(File file, ReloadService service)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibilityprotected org.nuxeo.connect.update.task.Command
doCompatRun(ReloadService srv)
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibilityprotected org.nuxeo.connect.update.task.Command
doRun(org.nuxeo.connect.update.task.Task task, Map<String,String> prefs)
Override to implement command actions-
Methods 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 Detail
-
Deploy
public Deploy()
-
Deploy
public Deploy(File file)
-
-
Method Detail
-
deployFile
@Deprecated protected Undeploy deployFile(File file, ReloadService service) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- Throws:
org.nuxeo.connect.update.PackageException
-
deployDirectory
@Deprecated protected CompositeCommand deployDirectory(File dir, ReloadService service) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- Throws:
org.nuxeo.connect.update.PackageException
-
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.PackageException
Description copied from class:AbstractCommand
Override to implement command actions- Overrides:
doRun
in classDeployPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-
doCompatRun
@Deprecated protected org.nuxeo.connect.update.task.Command doCompatRun(ReloadService srv) throws org.nuxeo.connect.update.PackageException
Deprecated.since 9.3, reload mechanism has changed, keep it for backward compatibility- 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
-
-