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, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRunningpublic AbstractSoftwareProcessWinRmDriver(EntityLocal entity, WinRmMachineLocation location)
public void runPreInstallCommand(java.lang.String command)
runPreInstallCommand in class AbstractSoftwareProcessDriverpublic void setup()
setup in class AbstractSoftwareProcessDriverpublic void runPostInstallCommand(java.lang.String command)
runPostInstallCommand in class AbstractSoftwareProcessDriverpublic void runPreLaunchCommand(java.lang.String command)
runPreLaunchCommand in class AbstractSoftwareProcessDriverpublic void runPostLaunchCommand(java.lang.String command)
runPostLaunchCommand in class AbstractSoftwareProcessDriverpublic WinRmMachineLocation getLocation()
EntityDrivergetLocation in interface EntityDrivergetLocation in class AbstractSoftwareProcessDriverpublic java.lang.String getRunDir()
getRunDir in class AbstractSoftwareProcessDriverpublic java.lang.String getInstallDir()
getInstallDir in class AbstractSoftwareProcessDriverpublic 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 AbstractSoftwareProcessDriverpublic 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 AbstractSoftwareProcessDriverpublic 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()