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

java.lang.Object
  extended by com.xebialabs.deployit.plugin.generic.step.BaseStep
      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.flow.PreviewStep, com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class TemplateArtifactCopyStep
extends ArtifactCopyStep
implements com.xebialabs.deployit.plugin.api.flow.PreviewStep

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
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.flow.StepExitCode doExecute()
           
 com.xebialabs.deployit.plugin.api.flow.Preview getPreview()
           
protected  com.xebialabs.overthere.OverthereFile resolveSourceFile()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.step.ArtifactCopyStep
getDescription, getSourceFileDescription, getTargetFileName, isCreateTargetPath, isPreserveExistingFiles, setCreateTargetPath, setDescription, setPreserveExistingFiles, 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, 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
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
execute, getDescription, getOrder
 

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

getPreview

public com.xebialabs.deployit.plugin.api.flow.Preview getPreview()
Specified by:
getPreview in interface com.xebialabs.deployit.plugin.api.flow.PreviewStep

doExecute

protected com.xebialabs.deployit.plugin.api.flow.StepExitCode 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