public abstract class AbstractSoftwareProcessWinRmDriver extends AbstractSoftwareProcessDriver
Constructor and Description |
---|
AbstractSoftwareProcessWinRmDriver(EntityLocal entity,
WinRmMachineLocation location) |
Modifier and Type | Method and Description |
---|---|
int |
copyResource(java.util.Map<java.lang.Object,java.lang.Object> sshFlags,
java.io.InputStream source,
java.lang.String target,
boolean createParentDir) |
int |
copyResource(java.util.Map<java.lang.Object,java.lang.Object> sshFlags,
java.lang.String source,
java.lang.String target,
boolean createParentDir) |
int |
copyTo(java.io.File source,
java.lang.String destination) |
int |
copyTo(java.io.InputStream source,
java.lang.String destination) |
int |
execute(java.util.List<java.lang.String> script) |
int |
executePsScript(java.util.List<java.lang.String> psScript) |
int |
executePsScriptNoRetry(java.util.List<java.lang.String> psScript) |
java.lang.String |
getInstallDir() |
WinRmMachineLocation |
getLocation()
The location the entity is running in.
|
java.lang.String |
getRunDir() |
void |
rebootAndWait() |
void |
runPostInstallCommand(java.lang.String command) |
void |
runPostLaunchCommand(java.lang.String command) |
void |
runPreInstallCommand(java.lang.String command) |
void |
runPreLaunchCommand(java.lang.String command) |
void |
setup() |
copyInstallResources, copyPreInstallResources, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, customize, getEntity, getResource, getResourceAsString, getVersion, install, kill, launch, postLaunch, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRunning
public AbstractSoftwareProcessWinRmDriver(EntityLocal entity, WinRmMachineLocation location)
public void runPreInstallCommand(java.lang.String command)
runPreInstallCommand
in class AbstractSoftwareProcessDriver
public void setup()
setup
in class AbstractSoftwareProcessDriver
public void runPostInstallCommand(java.lang.String command)
runPostInstallCommand
in class AbstractSoftwareProcessDriver
public void runPreLaunchCommand(java.lang.String command)
runPreLaunchCommand
in class AbstractSoftwareProcessDriver
public void runPostLaunchCommand(java.lang.String command)
runPostLaunchCommand
in class AbstractSoftwareProcessDriver
public WinRmMachineLocation getLocation()
EntityDriver
getLocation
in interface EntityDriver
getLocation
in class AbstractSoftwareProcessDriver
public java.lang.String getRunDir()
getRunDir
in class AbstractSoftwareProcessDriver
public java.lang.String getInstallDir()
getInstallDir
in class AbstractSoftwareProcessDriver
public int copyResource(java.util.Map<java.lang.Object,java.lang.Object> sshFlags, java.lang.String source, java.lang.String target, boolean createParentDir)
copyResource
in class AbstractSoftwareProcessDriver
public int copyResource(java.util.Map<java.lang.Object,java.lang.Object> sshFlags, java.io.InputStream source, java.lang.String target, boolean createParentDir)
copyResource
in class AbstractSoftwareProcessDriver
public int execute(java.util.List<java.lang.String> script)
public int executePsScriptNoRetry(java.util.List<java.lang.String> psScript)
public int executePsScript(java.util.List<java.lang.String> psScript)
public int copyTo(java.io.File source, java.lang.String destination)
public int copyTo(java.io.InputStream source, java.lang.String destination)
public void rebootAndWait()