com.xebialabs.deployit.plugin.powershell
Class PowerShellInspectionStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.powershell.PowerShellInspectionStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.PreviewStep, com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class PowerShellInspectionStep
extends java.lang.Object

See Also:
Serialized Form

Field Summary
protected  com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem
           
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
PowerShellInspectionStep(com.xebialabs.deployit.plugin.overthere.HostContainer container, com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> deployed, java.lang.String scriptPath, java.util.Map<java.lang.String,java.lang.Object> powershellVars, java.lang.String description)
           
 
Method Summary
protected  java.lang.String aggregateScript(com.xebialabs.overthere.OverthereConnection connection)
           
protected  com.xebialabs.deployit.plugin.api.flow.StepExitCode doExecute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
 com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
static com.xebialabs.overthere.CmdLine getDefaultScriptCommandLine(java.lang.String powerShellPath, com.xebialabs.overthere.OverthereFile script)
           
 java.lang.String getDescription()
           
 int getOrder()
           
 com.xebialabs.deployit.plugin.api.flow.Preview getPreview()
           
 void setUploadArtifactData(boolean uploadArtifactData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inspectedItem

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

PowerShellInspectionStep

public PowerShellInspectionStep(com.xebialabs.deployit.plugin.overthere.HostContainer container,
                                com.xebialabs.deployit.plugin.api.udm.Deployed<?,?> deployed,
                                java.lang.String scriptPath,
                                java.util.Map<java.lang.String,java.lang.Object> powershellVars,
                                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

doExecute

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

getPreview

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

aggregateScript

protected java.lang.String aggregateScript(com.xebialabs.overthere.OverthereConnection connection)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface com.xebialabs.deployit.plugin.api.flow.Step

setUploadArtifactData

public void setUploadArtifactData(boolean uploadArtifactData)

getDefaultScriptCommandLine

public static com.xebialabs.overthere.CmdLine getDefaultScriptCommandLine(java.lang.String powerShellPath,
                                                                          com.xebialabs.overthere.OverthereFile script)