public class WindowsRemoteScripter extends Object
| Constructor and Description |
|---|
WindowsRemoteScripter(WindowsCredentials bonafides) |
| Modifier and Type | Method and Description |
|---|---|
String |
run(Collection<String> cmdArgs)
Run a remote script command.
|
String |
run(String cmd)
Run a remote script command
|
void |
wantStdErr() |
public WindowsRemoteScripter(WindowsCredentials bonafides)
public final void wantStdErr()
public String run(Collection<String> cmdArgs) throws WindowsException
cmd - e.g. "C:/glassfish4/bin/asadmin" "start-local-instance" "i1"WindowsExceptionpublic String run(String cmd) throws WindowsException
cmd - e.g. "C:/glassfish4/bin/asadmin start-local-instance i1"WindowsExceptionCopyright © 2019. All rights reserved.