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 |
---|---|
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.
|
int |
getStatusCode()
Returns the status of the task as integer.
|
boolean |
isActive() |
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.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public GroupMonitor(int runID)
GroupMonitor
request.runID
- RunIDpublic int getMaxParallelTasks()
public int getStatusCode()
-1
in case of an error. Possible
return values are described in the status:
AbstractTask.getStatusCode()
public boolean isActive()
public java.util.Iterator<GroupMonitor.Task> iterator()
iterator
in interface java.lang.Iterable<GroupMonitor.Task>
public int size()
public int getRunID()
public void setActivityGroupMonitor()
public void setArchiveGroupMonitor()
public void setExplorerGroupMonitor()
public int getClient()