public class SSHInstallUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENT_STATUS_NOT_INSTALLED |
| Constructor and Description |
|---|
SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo) |
SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo,
org.rhq.enterprise.server.install.remote.SSHInstallUtility.Credentials defaultCredentials,
org.rhq.enterprise.server.install.remote.SSHInstallUtility.SSHConfiguration sshConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
agentInstallCheck(String agentInstallPath) |
String |
agentStatus(String agentInstallPath) |
void |
connect() |
void |
disconnect() |
String |
findAgentInstallPath(String parentPath) |
org.rhq.core.domain.install.remote.RemoteAccessInfo |
getRemoteAccessInfo() |
org.rhq.core.domain.install.remote.AgentInstallInfo |
installAgent(org.rhq.core.domain.install.remote.CustomAgentInstallData customData,
String installId) |
boolean |
isConnected() |
String[] |
pathDiscovery(String parentPath) |
String |
startAgent(String agentInstallPath) |
String |
stopAgent(String agentInstallPath) |
String |
uninstallAgent(String doomedPath) |
public static final String AGENT_STATUS_NOT_INSTALLED
public SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo,
org.rhq.enterprise.server.install.remote.SSHInstallUtility.Credentials defaultCredentials,
org.rhq.enterprise.server.install.remote.SSHInstallUtility.SSHConfiguration sshConfig)
public SSHInstallUtility(org.rhq.core.domain.install.remote.RemoteAccessInfo accessInfo)
public org.rhq.core.domain.install.remote.RemoteAccessInfo getRemoteAccessInfo()
public void connect()
public void disconnect()
public boolean isConnected()
public boolean agentInstallCheck(String agentInstallPath)
public org.rhq.core.domain.install.remote.AgentInstallInfo installAgent(org.rhq.core.domain.install.remote.CustomAgentInstallData customData,
String installId)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.