public class TaskStatistics extends XMLRequest implements 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 |
---|---|
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, showQuarantineNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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 Iterator<StatisticSearchItem> iterator()
iterator
in interface Iterable<StatisticSearchItem>
Copyright © 2021. All rights reserved.