public class PythonDeploymentStep
extends java.lang.Object
| Constructor and Description |
|---|
PythonDeploymentStep(int order,
PythonManagingContainer container,
java.lang.String scriptPath,
java.util.Map<java.lang.String,java.lang.Object> pythonVars,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
aggregateScript(com.xebialabs.overthere.OverthereConnection connection,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
protected com.xebialabs.deployit.plugin.api.flow.StepExitCode |
doExecute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
static void |
dumpPythonScript(java.lang.String scriptName,
java.lang.String scriptContents) |
com.xebialabs.deployit.plugin.api.flow.StepExitCode |
execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
protected int |
executePythonScriptDirectly(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
com.xebialabs.overthere.OverthereConnection conn,
com.xebialabs.overthere.OverthereFile script) |
java.lang.String |
getDescription() |
int |
getOrder() |
com.xebialabs.deployit.plugin.api.flow.Preview |
getPreview() |
void |
requestStaging(com.xebialabs.deployit.plugin.api.flow.StagingContext ctx) |
void |
setUploadArtifactData(boolean uploadArtifactData) |
java.lang.String |
toString() |
public PythonDeploymentStep(int order,
PythonManagingContainer container,
java.lang.String scriptPath,
java.util.Map<java.lang.String,java.lang.Object> pythonVars,
java.lang.String description)
public com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
java.lang.Exceptionpublic int getOrder()
public void requestStaging(com.xebialabs.deployit.plugin.api.flow.StagingContext ctx)
requestStaging in interface com.xebialabs.deployit.plugin.api.flow.StageableStepprotected com.xebialabs.deployit.plugin.api.flow.StepExitCode doExecute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
java.lang.Exceptionpublic com.xebialabs.deployit.plugin.api.flow.Preview getPreview()
getPreview in interface com.xebialabs.deployit.plugin.api.flow.PreviewStepprotected java.lang.String aggregateScript(com.xebialabs.overthere.OverthereConnection connection,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
protected int executePythonScriptDirectly(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
com.xebialabs.overthere.OverthereConnection conn,
com.xebialabs.overthere.OverthereFile script)
public void setUploadArtifactData(boolean uploadArtifactData)
public java.lang.String getDescription()
getDescription in interface com.xebialabs.deployit.plugin.api.flow.Steppublic java.lang.String toString()
toString in class java.lang.Objectpublic static void dumpPythonScript(java.lang.String scriptName,
java.lang.String scriptContents)