public class GroupMonitor extends XMLRequest implements java.lang.Iterable<GroupMonitor.Task>
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupMonitor.Task
This class represents a task in the Group monitor.
|
| Constructor and Description |
|---|
GroupMonitor(int runID)
Constructs a new
GroupMonitor 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.
|
int |
getClient()
Returns the client of the group monitor.
|
int |
getMaxParallelTasks()
Returns the maximum parallel tasks in group
|
int |
getRunID()
Returns the run id of this Group.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
int |
getStatusCode()
Returns the status of the task as integer.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
boolean |
isActive() |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
java.util.Iterator<GroupMonitor.Task> |
iterator() |
void |
setActivityGroupMonitor()
If this method is called the detail of a GroupMonitor in the activity
list is returned.
|
void |
setArchiveGroupMonitor()
If this method is called the detail of a GroupMonitor in the statistics
is returned.
|
void |
setExplorerGroupMonitor()
If this method is called the detail of a GroupMonitor in the Explorer is
returned.
|
int |
size()
Returns the number of tasks in this Group.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic GroupMonitor(int runID)
GroupMonitor request.runID - RunIDprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the sessionprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestpublic int getMaxParallelTasks()
public int getStatusCode()
-1 in case of an error. Possible
return values are described in the status:
AbstractTask.getStatusCode()public boolean isActive()
protected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestpublic java.util.Iterator<GroupMonitor.Task> iterator()
iterator in interface java.lang.Iterable<GroupMonitor.Task>public int size()
protected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwisepublic int getRunID()
public void setActivityGroupMonitor()
public void setArchiveGroupMonitor()
public void setExplorerGroupMonitor()
public int getClient()