public class CliStageableStep extends BaseStep implements com.xebialabs.deployit.plugin.api.flow.StageableStep
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
JYTHON_SCRIPT_ENGINE| Constructor and Description |
|---|
CliStageableStep(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String script,
int order,
java.util.Map<java.lang.String,java.lang.Object> pythonContext,
java.lang.String description,
CliManagedContainer container) |
| Modifier and Type | Method and Description |
|---|---|
com.xebialabs.deployit.plugin.api.flow.StepExitCode |
execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
protected org.slf4j.Logger |
logger() |
void |
requestStaging(com.xebialabs.deployit.plugin.api.flow.StagingContext ctx) |
com.xebialabs.overthere.OverthereFile |
uploadToWorkingDirectory(com.xebialabs.overthere.OverthereFile content,
java.lang.String fileName) |
createBindings, disconnect, executeCliCommand, executeCliCommands, executeScript, getAdditionalLibraries, getContainer, getCtx, getDescription, getLocalConnection, getOrder, getPreview, getRemoteConnection, getRemoteWorkingDirectory, getRemoteWorkingDirPath, getSatellite, handleExecute, hostFileExists, isRetainRemoteWorkingDirOnCompletion, loadLibraryScripts, loadLibraryScriptsAndEval, loadScriptEngine, readHostFile, readHostFileLines, setAdditionalLibraries, setRemoteWorkingDirPath, setRetainRemoteWorkingDirOnCompletion, throwCliScriptException, uploadToWorkingDirectory, uploadToWorkingDirectory, uploadToWorkingDirectorypublic CliStageableStep(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String script,
int order,
java.util.Map<java.lang.String,java.lang.Object> pythonContext,
java.lang.String description,
CliManagedContainer container)
public com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
execute in interface com.xebialabs.deployit.plugin.api.flow.Stepjava.lang.Exceptionpublic void requestStaging(com.xebialabs.deployit.plugin.api.flow.StagingContext ctx)
requestStaging in interface com.xebialabs.deployit.plugin.api.flow.StageableSteppublic com.xebialabs.overthere.OverthereFile uploadToWorkingDirectory(com.xebialabs.overthere.OverthereFile content,
java.lang.String fileName)
uploadToWorkingDirectory in class BaseStep