public class ConnectAgentRequest extends Object implements Serializable
| Constructor and Description |
|---|
ConnectAgentRequest(String agentName,
AgentVersion agentVersion,
boolean autoUpdateEnabled) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgentName()
The name of the agent that is requesting to be connected.
|
AgentVersion |
getAgentVersion()
The version information of the agent asking to be connected.
|
boolean |
isAutoUpdateEnabled()
Returns true if the connecting agent will attempt to auto-update itself if its
version is not supported. |
String |
toString() |
public ConnectAgentRequest(String agentName, AgentVersion agentVersion, boolean autoUpdateEnabled)
public String getAgentName()
public AgentVersion getAgentVersion()
public boolean isAutoUpdateEnabled()
version is not supported. False will be returned
if this agent will be "dead in the water" if it is not supported because it will
not attempt to update itself to a newer version of the agent that is supported.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.