public class GetAgentGroupProperties extends XMLRequest
Constructor and Description |
---|
GetAgentGroupProperties(UC4ObjectName agentName)
Creates a new instance of the
GetAgentGroupProperties request. |
Modifier and Type | Method and Description |
---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
UC4ObjectName |
getAgentGroupName()
Returns the agents name
|
int |
getCheckInterval()
Returns the interval in seconds in which the Agent Group tries to contact the
Automation Engine.
|
org.w3c.dom.Element |
getHostgPropertiesElement()
Returns the host group property element
|
int |
getMaxFileTransfer()
Returns the maximum number of FileTransfers,
-1 if the Agent
Group is not active or the setting is unlimited. |
int |
getMaxJobs()
Returns the maximum number of Jobs or
-1 if the Agent Group is not
active or the setting is unlimited. |
int |
getMaxReportBlocks()
Returns the maximum number of report blocks;
-1 if the Agent
Group is not active. |
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
boolean |
isAgentAlive()
Returns
true if this Agent Group is running, false if
the Agent has been stopped. |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isHostAlive()
Returns true if the Host is running or false if not.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public GetAgentGroupProperties(UC4ObjectName agentName)
GetAgentGroupProperties
request.agentName
- Name of the Agentpublic boolean isHostAlive()
public UC4ObjectName getAgentGroupName()
protected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
public boolean isAgentAlive()
true
if this Agent Group is running, false
if
the Agent has been stopped.public int getMaxJobs()
-1
if the Agent Group is not
active or the setting is unlimited.public int getMaxFileTransfer()
-1
if the Agent
Group is not active or the setting is unlimited.public int getMaxReportBlocks()
-1
if the Agent
Group is not active.public int getCheckInterval()
protected boolean isAllowedInClientZero()
XMLRequest
XMLRequest
is allowed in client 0.
The default implementation returns false
, subclasses may override.isAllowedInClientZero
in class XMLRequest
true
if this request is allowed in client 0, false
otherwisepublic org.w3c.dom.Element getHostgPropertiesElement()