org.glassfish.paas.gfplugin
Class RemoteCommandRunnerClient
java.lang.Object
org.glassfish.paas.gfplugin.RemoteCommandRunnerClient
- All Implemented Interfaces:
- CommandRunner
public class RemoteCommandRunnerClient
- extends Object
- implements CommandRunner
Until the CommandRunnerClient supports connecting to remote DAS having
secure-admin enabled, this class can be used to execute the commands
directly in the remote machine via SSH.
In general, this can also be used to execute local commands in the remote DAS
eg., start-database, start-domain are local commands.
- Author:
- Bhavanishankar S
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteCommandRunnerClient
public RemoteCommandRunnerClient(Properties glassfishProperties)
run
public CommandResult run(String command,
String... args)
-
- Specified by:
run in interface CommandRunner
setTerse
public void setTerse(boolean terse)
-
- Specified by:
setTerse in interface CommandRunner
Copyright © 2012. All Rights Reserved.