public class IdleTask extends Task
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, STATE_DONE, STATE_NEW, STATE_STARTED| Constructor and Description |
|---|
IdleTask()
Creates a new instance of idle task.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIdleTask()
Returns true meaning that the task measure idle time.
|
void |
writeRepetition(java.io.PrintStream stream)
Writes information that this is an idle task.
|
addDuration, addNote, addPropertyChangeListener, automaticStart, cloneTask, compare, getDescription, getDuration, getKeyword, getKeywordIterator, getNotes, getNotificationTime, getPriority, getPriority, getState, getState, isRunning, privateTask, removePropertyChangeListener, setAutomaticStart, setDescription, setDuration, setKeyword, setNotes, setNotificationTime, setPriority, setPrivateTask, setState, startWork, suspendWork, tick, toString, workDone, writepublic boolean isIdleTask()
isIdleTask in class Taskpublic void writeRepetition(java.io.PrintStream stream)
throws java.io.IOException
writeRepetition in class Taskstream - Print stream where info about this idle task will be written.java.io.IOException - Input/output exception thrown when some error during writing information occurs.