com.xebialabs.deployit.plugin.powershell
Class PowerShellDeploymentStep

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

public class PowerShellDeploymentStep
extends java.lang.Object

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
PowerShellDeploymentStep(int order, com.xebialabs.deployit.plugin.overthere.HostContainer container, java.lang.String scriptPath, java.util.Map<java.lang.String,java.lang.Object> pythonVars, 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()
           
 void setUploadArtifactData(boolean uploadArtifactData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerShellDeploymentStep

public PowerShellDeploymentStep(int order,
                                com.xebialabs.deployit.plugin.overthere.HostContainer container,
                                java.lang.String scriptPath,
                                java.util.Map<java.lang.String,java.lang.Object> pythonVars,
                                java.lang.String description)
Method Detail

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

getOrder

public int getOrder()

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

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)