protected class SimpleOrderedCalendar.Entry extends java.lang.Object implements java.lang.Comparable<SimpleOrderedCalendar.Entry>, EventToken
Modifier | Constructor and Description |
---|---|
protected |
SimpleOrderedCalendar.Entry(CalendarCallback process,
CalendarCallback cancel,
PointInTime scheduledTime,
int priority) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the event, i.e.
|
int |
compareTo(SimpleOrderedCalendar.Entry o) |
boolean |
hasBeenCancelled() |
boolean |
hasBeenExecuted() |
boolean |
isPending() |
protected SimpleOrderedCalendar.Entry(CalendarCallback process, CalendarCallback cancel, PointInTime scheduledTime, int priority)
public int compareTo(SimpleOrderedCalendar.Entry o)
compareTo
in interface java.lang.Comparable<SimpleOrderedCalendar.Entry>
public void cancel()
EventToken
cancel
in interface EventToken
public boolean isPending()
isPending
in interface EventToken
public boolean hasBeenExecuted()
hasBeenExecuted
in interface EventToken
public boolean hasBeenCancelled()
hasBeenCancelled
in interface EventToken