public class WindowsRemoteAsadmin extends WindowsRemoteScripter
| Constructor and Description |
|---|
WindowsRemoteAsadmin(String remoteInstallRoot,
WindowsCredentials bonafides) |
| Modifier and Type | Method and Description |
|---|---|
String |
run(Collection<String> cmdArgs)
Run a remote asadmin script command
|
String |
run(String cmd)
Run a remote asadmin script command
|
wantStdErrpublic WindowsRemoteAsadmin(String remoteInstallRoot, WindowsCredentials bonafides)
public String run(Collection<String> cmdArgs) throws WindowsException
run in class WindowsRemoteScriptercmdArgs - e.g. "start-local-instance", "i1"WindowsExceptionpublic final String run(String cmd) throws WindowsException
run in class WindowsRemoteScriptercmd - e.g. "start-local-instance i1"WindowsExceptionCopyright © 2017. All rights reserved.