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
|
Constructor Summary |
SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHInstallUtility
public SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo)
connect
public void connect()
disconnect
public void disconnect()
agentInstallCheck
public boolean agentInstallCheck(String agentInstallPath)
installAgent
public org.rhq.core.domain.install.remote.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-2012 Red Hat, Inc.. All Rights Reserved.