org.rhq.enterprise.server.install.remote
Class SSHInstallUtility
java.lang.Object
org.rhq.enterprise.server.install.remote.SSHInstallUtility
public class SSHInstallUtility
- extends Object
A utility object that is used to install, start and stop agents remotely over SSH.
- Author:
- Greg Hinkle, John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHInstallUtility
public SSHInstallUtility(RemoteAccessInfo accessInfo)
connect
public void connect()
disconnect
public void disconnect()
agentInstallCheck
public boolean agentInstallCheck(String agentInstallPath)
installAgent
public AgentInstallInfo installAgent(String parentPath)
startAgent
public String startAgent(String agentInstallPath)
stopAgent
public String stopAgent(String agentInstallPath)
agentStatus
public String agentStatus(String agentInstallPath)
findAgentInstallPath
public String findAgentInstallPath(String parentPath)
pathDiscovery
public String[] pathDiscovery(String parentPath)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.