Package arez.spy
Interface TaskInfo
- All Superinterfaces:
ElementInfo
A representation of a task instance exposed to spy framework.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the priority of the task.boolean
isIdle()
Return true if the task is idle - not scheduled to run and not disposed.boolean
Return true if the task is scheduled to run.Methods inherited from interface arez.spy.ElementInfo
getName, isDisposed
-
Method Details
-
isIdle
boolean isIdle()Return true if the task is idle - not scheduled to run and not disposed.- Returns:
- true if the task is idle.
-
isScheduled
boolean isScheduled()Return true if the task is scheduled to run.- Returns:
- true if the task is scheduled to run.
-
getPriority
Return the priority of the task.- Returns:
- the priority of the task.
-