com.xebialabs.deployit.plugin.python
Interface PythonManagingContainer

All Superinterfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Container, java.io.Serializable, com.xebialabs.deployit.plugin.api.udm.Taggable

public interface PythonManagingContainer
extends com.xebialabs.deployit.plugin.api.udm.Container


Field Summary
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.
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Method Summary
 com.xebialabs.deployit.plugin.overthere.Host getHost()
           
 java.lang.String getRuntimePath()
          Name of the directory on the classpath that contains the Python scripts that define the runtime for this container.
 com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
           
 boolean runWithDaemon()
           
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
getTags, setTags
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Field Detail

CONNECT_FROM_STAND_ALONE_SCRIPT

static final 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.

See Also:
Constant Field Values

DISCONNECT_FROM_STAND_ALONE_SCRIPT

static final 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.

See Also:
Constant Field Values

CONNECT_FROM_DAEMON

static final 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.

See Also:
Constant Field Values

RUN_SCRIPT_FROM_DAEMON

static final 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.

See Also:
Constant Field Values

DISCONNECT_FROM_DAEMON

static final 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.

See Also:
Constant Field Values
Method Detail

getHost

com.xebialabs.deployit.plugin.overthere.Host getHost()

getRuntimePath

java.lang.String getRuntimePath()
Name of the directory on the classpath that contains the Python scripts that define the runtime for this container. Should implement CONNECT_FROM_STAND_ALONE_SCRIPT, DISCONNECT_FROM_STAND_ALONE_SCRIPT, CONNECT_FROM_DAEMON, RUN_SCRIPT_FROM_DAEMON, DISCONNECT_FROM_DAEMON.


runWithDaemon

boolean runWithDaemon()

getScriptCommandLine

com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)