public class Notifyable extends Object implements Delayed
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,Notification> |
cache |
protected Date |
date |
protected Node |
node |
protected int |
offset |
protected boolean |
offsetNull |
protected int |
prevOffset |
| Constructor and Description |
|---|
Notifyable(Node n,
Date d,
int po,
int o) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addNotifyables(Queue queue,
Node notifyable,
Date date,
Date after) |
int |
compareTo(Delayed o) |
boolean |
equals(Object o) |
Date |
getDate() |
long |
getDelay(TimeUnit u) |
String |
getDue() |
Node |
getNode()
returs node of type notifyable
|
Date |
getNotificationDate() |
NodeList |
getNotifications() |
void |
send() |
String |
toString() |
protected static Map<String,Notification> cache
protected final Node node
protected final Date date
protected final int prevOffset
protected final int offset
protected final boolean offsetNull
public static void addNotifyables(Queue queue, Node notifyable, Date date, Date after)
public int compareTo(Delayed o)
compareTo in interface Comparable<Delayed>public NodeList getNotifications()
public void send()
public Node getNode()
public Date getDate()
public Date getNotificationDate()
public String getDue()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}