public class ScheduleMonitor extends XMLRequest implements java.lang.Iterable<ScheduleMonitor.Task>
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleMonitor.Task
This class represents a task in the Schedule monitor.
|
Constructor and Description |
---|
ScheduleMonitor(int runID,
boolean active)
Constructs a new
ScheduleMonitor request. |
Modifier and Type | Method and Description |
---|---|
int |
getRunID()
Returns the run id of this schedule.
|
int |
getStatusCode()
Returns the status of the task as integer.
|
boolean |
isReloadNextTurnaround()
Returns
true if reload definition at period turnaround is enabled. |
java.util.Iterator<ScheduleMonitor.Task> |
iterator() |
int |
size()
Returns the number of tasks in this schedule.
|
getMessageBox, getRequestID, handleResponse, send
public ScheduleMonitor(int runID, boolean active)
ScheduleMonitor
request.runID
- RunIDactive
- true if the monitor should be read from the activity window,public boolean isReloadNextTurnaround()
true
if reload definition at period turnaround is enabled.public int getStatusCode()
-1
in case of an error. Possible return values are described in the status: AbstractTask.getStatusCode()
public java.util.Iterator<ScheduleMonitor.Task> iterator()
iterator
in interface java.lang.Iterable<ScheduleMonitor.Task>
public int size()
public int getRunID()