public class TaskStatistics extends XMLRequest implements java.lang.Iterable<StatisticSearchItem>
Constructor and Description |
---|
TaskStatistics(int runID)
Creates a request instance to read the statistic of the specified task.
|
TaskStatistics(int runID,
int lnr)
Creates a request instance to read the statistic of the specified task inside another task.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<StatisticSearchItem> |
iterator() |
void |
setMaxResult(int maxResult)
Sets the maximum number of returned rows.
|
int |
size()
Returns the number of items in the result.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public TaskStatistics(int runID)
runID
- runnumber of the task in the parent taskpublic TaskStatistics(int runID, int lnr)
runID
- run id of the parent tasklnr
- runnumber of the task in the parent taskpublic void setMaxResult(int maxResult)
maxResult
- Integer between 1 and 5000public int size()
StatisticSearchItem
itemspublic java.util.Iterator<StatisticSearchItem> iterator()
iterator
in interface java.lang.Iterable<StatisticSearchItem>