com.xebialabs.deployit.plugin.python
Class PythonDeploymentStep
java.lang.Object
com.xebialabs.deployit.plugin.python.PythonDeploymentStep
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep, com.xebialabs.deployit.plugin.api.execution.Step<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext>, java.io.Serializable
public class PythonDeploymentStep
- extends java.lang.Object
- implements com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.xebialabs.deployit.plugin.api.execution.Step |
com.xebialabs.deployit.plugin.api.execution.Step.Result |
|
Method Summary |
protected java.lang.String |
aggregateScript(com.xebialabs.overthere.OverthereConnection connection)
|
protected com.xebialabs.deployit.plugin.api.execution.Step.Result |
doExecute(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx)
|
static void |
dumpPythonScript(java.lang.String scriptName,
java.lang.String scriptContents)
|
com.xebialabs.deployit.plugin.api.execution.Step.Result |
execute(com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext ctx)
|
protected int |
executePythonScriptDirectly(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx,
com.xebialabs.overthere.OverthereConnection conn,
com.xebialabs.overthere.OverthereFile script)
|
java.lang.String |
getDescription()
|
int |
getOrder()
|
void |
setUploadArtifactData(boolean uploadArtifactData)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.xebialabs.deployit.plugin.api.execution.Step |
getDescription |
PythonDeploymentStep
public PythonDeploymentStep(int order,
PythonManagingContainer container,
java.lang.String scriptPath,
java.util.Map<java.lang.String,java.lang.Object> pythonVars,
java.lang.String description)
execute
public com.xebialabs.deployit.plugin.api.execution.Step.Result execute(com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext ctx)
throws java.lang.Exception
- Specified by:
execute in interface com.xebialabs.deployit.plugin.api.execution.Step<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext>
- Throws:
java.lang.Exception
getOrder
public int getOrder()
- Specified by:
getOrder in interface com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep
doExecute
protected com.xebialabs.deployit.plugin.api.execution.Step.Result doExecute(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
aggregateScript
protected java.lang.String aggregateScript(com.xebialabs.overthere.OverthereConnection connection)
executePythonScriptDirectly
protected int executePythonScriptDirectly(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx,
com.xebialabs.overthere.OverthereConnection conn,
com.xebialabs.overthere.OverthereFile script)
setUploadArtifactData
public void setUploadArtifactData(boolean uploadArtifactData)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.xebialabs.deployit.plugin.api.execution.Step<C extends com.xebialabs.deployit.plugin.api.execution.ExecutionContext>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
dumpPythonScript
public static void dumpPythonScript(java.lang.String scriptName,
java.lang.String scriptContents)