public interface PythonManagingContainer
extends com.xebialabs.deployit.plugin.api.udm.Container
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONNECT_FROM_DAEMON
Name of the Python function to implement in the container specific runtime that connects to the managing server, when running from the daemon.
|
static java.lang.String |
CONNECT_FROM_STAND_ALONE_SCRIPT
Name of the Python function to implement in the container specific runtime that connects to the managing server, when running from a stand alone script.
|
static java.lang.String |
DISCONNECT_FROM_DAEMON
Name of the Python function to implement in the container specific runtime that disconnects from the managing server, when running from the daemon.
|
static java.lang.String |
DISCONNECT_FROM_STAND_ALONE_SCRIPT
Name of the Python function to implement in the container specific runtime that disconnects from the managing server, when running from a stand alone
script.
|
static java.lang.String |
RUN_SCRIPT_FROM_DAEMON
Name of the Python function to implement in the container specific runtime that runs a script from the daemon.
|
| Modifier and Type | Method and Description |
|---|---|
com.xebialabs.deployit.plugin.overthere.Host |
getHost()
Returns the host on which this container runs.
|
java.lang.String |
getRuntimePath()
Returns the name of the directory on the classpath that contains the PowerShell scripts that define the runtime for this container.
|
com.xebialabs.overthere.CmdLine |
getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
Generates the command line that should be used to run a script.
|
boolean |
runWithDaemon()
true if the python daemon should be started to manage this container. |
static final java.lang.String CONNECT_FROM_STAND_ALONE_SCRIPT
static final java.lang.String DISCONNECT_FROM_STAND_ALONE_SCRIPT
static final java.lang.String CONNECT_FROM_DAEMON
static final java.lang.String RUN_SCRIPT_FROM_DAEMON
static final java.lang.String DISCONNECT_FROM_DAEMON
com.xebialabs.deployit.plugin.overthere.Host getHost()
java.lang.String getRuntimePath()
CONNECT_FROM_STAND_ALONE_SCRIPT, DISCONNECT_FROM_STAND_ALONE_SCRIPT, CONNECT_FROM_DAEMON, RUN_SCRIPT_FROM_DAEMON,
DISCONNECT_FROM_DAEMON.boolean runWithDaemon()
true if the python daemon should be started to manage this container.com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
script - the script to run