public abstract class AbstractMailListener extends java.lang.Object implements MailListener
Modifier and Type | Field and Description |
---|---|
protected int |
order |
static java.lang.String |
REVISION |
Constructor and Description |
---|
AbstractMailListener() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object obj)
Compare this object with the specified object for order.
|
boolean |
equals(MailListener obj)
Indicates wheter some other object is "equal to" this one.
|
boolean |
fetchMessage(MailMessage mail,
boolean stored,
java.util.Map<java.lang.String,java.lang.Object> context)
Invoked after a mail was fetch.
|
int |
getOrder()
Returns object orders value.
|
void |
setOrder(int order)
Sets the listener order
|
public static final java.lang.String REVISION
protected int order
public boolean fetchMessage(MailMessage mail, boolean stored, java.util.Map<java.lang.String,java.lang.Object> context)
MailListener
fetchMessage
in interface MailListener
mail
- the javax.mail.Message fetchedstored
- boolean to store MailMessage in JCMScontext
- a context used to store informationMailListener.fetchMessage(MailMessage, boolean, Map)
public final int getOrder()
public final void setOrder(int order)
order
- public final int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- the Object to be compared.Comparable.compareTo(java.lang.Object)
public final boolean equals(MailListener obj)
obj
- the Object to be compared.Copyright © 2001-2010 Jalios SA. All Rights Reserved.