com.xebialabs.deployit.plugin.powershell
Class PowerShellStepUtils

java.lang.Object
  extended by com.xebialabs.deployit.plugin.powershell.PowerShellStepUtils

public class PowerShellStepUtils
extends java.lang.Object


Constructor Summary
PowerShellStepUtils()
           
 
Method Summary
static com.xebialabs.deployit.plugin.api.flow.StepExitCode executePowerShellScript(com.xebialabs.deployit.plugin.overthere.HostContainer container, com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx, com.xebialabs.deployit.plugin.powershell.PowerShellStepUtils.PowerShellScriptCallback callback)
           
static com.xebialabs.overthere.CmdLine getDefaultScriptCommandLine(java.lang.String powerShellPath, com.xebialabs.overthere.OverthereFile script)
           
static com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.deployit.plugin.overthere.HostContainer container, com.xebialabs.overthere.OverthereFile script)
           
static com.xebialabs.deployit.plugin.api.flow.Preview previewPowerShellScript(com.xebialabs.deployit.plugin.powershell.PowerShellStepUtils.PowerShellScriptCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerShellStepUtils

public PowerShellStepUtils()
Method Detail

previewPowerShellScript

public static com.xebialabs.deployit.plugin.api.flow.Preview previewPowerShellScript(com.xebialabs.deployit.plugin.powershell.PowerShellStepUtils.PowerShellScriptCallback callback)

executePowerShellScript

public static com.xebialabs.deployit.plugin.api.flow.StepExitCode executePowerShellScript(com.xebialabs.deployit.plugin.overthere.HostContainer container,
                                                                                          com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
                                                                                          com.xebialabs.deployit.plugin.powershell.PowerShellStepUtils.PowerShellScriptCallback callback)
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

getScriptCommandLine

public static com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.deployit.plugin.overthere.HostContainer container,
                                                                   com.xebialabs.overthere.OverthereFile script)

getDefaultScriptCommandLine

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