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

java.lang.Object
  extended by com.xebialabs.deployit.plugin.generic.step.BaseStep<C>
      extended by com.xebialabs.deployit.plugin.generic.step.BaseExecutionStep<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext>
          extended by com.xebialabs.deployit.plugin.generic.step.ScriptExecutionStep
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 ScriptExecutionStep
extends BaseExecutionStep<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext>
implements com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.xebialabs.deployit.plugin.api.execution.Step
com.xebialabs.deployit.plugin.api.execution.Step.Result
 
Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.generic.step.BaseStep
FREEMARKER_FILE_EXT, logger
 
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.execution.Step.Result execute(com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext ctx)
           
 int getOrder()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseExecutionStep
doExecute, executeScript, getArtifact, getClasspathResources, getFileResources, getTemplateClasspathResources, getUploadedArtifactPath, resolveOsSpecificFileName, setArtifact, setClasspathResources, setFileResources, setTemplateClasspathResources, setWorkingDirectory, uploadArtifactIfPresent, uploadClasspathResources, uploadFileResources, uploadScriptToExecute, uploadTemplateClasspathResources, uploadTemplateResourceToWorkingDirectory
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseStep
classpathResourceExists, createOrReplaceHostFile, disconnect, 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.execution.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()
Specified by:
getOrder in interface com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep

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