public class MailEventListener extends Object implements EventListener
The email connection corresponding to every MailFolder document found in the repository is checked for new incoming email.
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_NAME |
static String |
INBOX |
protected Lock |
lock |
static String |
PIPE_NAME |
Constructor and Description |
---|
MailEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
doHandleEvent(Event event) |
void |
handleEvent(Event event)
Handle the given event.
|
public static final String EVENT_NAME
public static final String PIPE_NAME
public static final String INBOX
public MailEventListener()
public void handleEvent(Event event)
EventListener
Event.cancel()
handleEvent
in interface EventListener
event
- the eventpublic void doHandleEvent(Event event)
Copyright © 2018 Nuxeo. All rights reserved.