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

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.InspectScriptExecutionStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.PreviewStep, com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class InspectScriptExecutionStep
extends BaseExecutionStep

See Also:
Serialized Form

Field Summary
static java.lang.String DISCOVERED_ITEM_PRELUDE
           
static java.lang.String INSPECTED_PROPERTY_PRELUDE
           
protected  com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem
           
 
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
InspectScriptExecutionStep(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem, 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()
           
protected  boolean handleOutputLine(java.lang.String line, com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
protected  boolean isReferenceToParent(com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)
           
 
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
 

Field Detail

inspectedItem

protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem

INSPECTED_PROPERTY_PRELUDE

public static final java.lang.String INSPECTED_PROPERTY_PRELUDE
See Also:
Constant Field Values

DISCOVERED_ITEM_PRELUDE

public static final java.lang.String DISCOVERED_ITEM_PRELUDE
See Also:
Constant Field Values
Constructor Detail

InspectScriptExecutionStep

public InspectScriptExecutionStep(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
                                  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

handleOutputLine

protected boolean handleOutputLine(java.lang.String line,
                                   com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)

isReferenceToParent

protected boolean isReferenceToParent(com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)