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

java.lang.Object
  extended by com.xebialabs.deployit.plugin.generic.step.BaseStep<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentExecutionContext>
      extended by com.xebialabs.deployit.plugin.generic.step.BaseDeploymentStep
          extended by com.xebialabs.deployit.plugin.generic.step.ArtifactCopyStep
              extended by com.xebialabs.deployit.plugin.generic.step.TemplateArtifactCopyStep
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 TemplateArtifactCopyStep
extends ArtifactCopyStep

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
TemplateArtifactCopyStep(int order, com.xebialabs.deployit.plugin.overthere.HostContainer container, java.util.Map<java.lang.String,java.lang.Object> vars, java.lang.String templatePath, java.lang.String targetPath)
           
 
Method Summary
protected  com.xebialabs.deployit.plugin.api.execution.Step.Result doExecute()
           
protected  com.xebialabs.overthere.OverthereFile resolveSourceFile()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.ArtifactCopyStep
getDescription, getSourceFileDescription, getTargetFileName, isCreateTargetPath, setCreateTargetPath, setDescription, setSourceFileDescription, setTargetFileName
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseDeploymentStep
execute, getOrder
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.BaseStep
classpathResourceExists, createOrReplaceHostFile, disconnect, evaluateTemplate, evaluateTemplate, getContainer, getCtx, 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
 

Constructor Detail

TemplateArtifactCopyStep

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

doExecute

protected com.xebialabs.deployit.plugin.api.execution.Step.Result doExecute()
                                                                     throws java.lang.Exception
Overrides:
doExecute in class ArtifactCopyStep
Throws:
java.lang.Exception

resolveSourceFile

protected com.xebialabs.overthere.OverthereFile resolveSourceFile()
Overrides:
resolveSourceFile in class ArtifactCopyStep