com.xebialabs.deployit.plugin.generic.step
Class ScriptExecutionStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.generic.step.BaseStep
      extended by com.xebialabs.deployit.plugin.generic.step.BaseExecutionStep
          extended by com.xebialabs.deployit.plugin.generic.step.ScriptExecutionStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.PreviewStep, com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class ScriptExecutionStep
extends BaseExecutionStep

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.generic.step.BaseStep
container, ctx, FREEMARKER_FILE_EXT, logger, remoteConn
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
ScriptExecutionStep(int order, java.lang.String scriptPath, com.xebialabs.deployit.plugin.overthere.HostContainer container, java.util.Map<java.lang.String,java.lang.Object> vars, java.lang.String description)
           
 
Method Summary
 com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
 int getOrder()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseExecutionStep
doExecute, executeScript, getArtifact, getClasspathResources, getFileResources, getPreview, getScriptPath, getTemplateClasspathResources, getUploadedArtifactPath, resolveOsSpecificFileName, resolveOsSpecificFileName, setArtifact, setClasspathResources, setFileResources, setTemplateClasspathResources, setWorkingDirectory, uploadArtifactIfPresent, uploadClasspathResources, uploadFileResources, uploadScriptToExecute, uploadTemplateClasspathResources
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseStep
classpathResourceExists, createOrReplaceHostFile, disconnect, evaluateTemplate, evaluateTemplate, evaluateTemplate, getContainer, getCtx, getDescription, getHostFileSeparator, getHostLineSeparator, getLocalConnection, getRemoteConnection, getRemoteWorkingDirectory, getRemoteWorkingDirPath, handleExecute, hostFileExists, isRetainRemoteWorkingDirOnCompletion, readHostFile, readHostFileLines, readHostXmlFileAsModel, resolveOsSpecificTemplate, setRemoteWorkingDirPath, setRetainRemoteWorkingDirOnCompletion, substringAfterLast, substringAfterLast, uploadToWorkingDirectory, uploadToWorkingDirectory, uploadToWorkingDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
getDescription
 

Constructor Detail

ScriptExecutionStep

public ScriptExecutionStep(int order,
                           java.lang.String scriptPath,
                           com.xebialabs.deployit.plugin.overthere.HostContainer container,
                           java.util.Map<java.lang.String,java.lang.Object> vars,
                           java.lang.String description)
Method Detail

getOrder

public int getOrder()

execute

public com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception