Package org.nuxeo.runtime.trackers.files
Class FileEventListener
- java.lang.Object
-
- org.nuxeo.runtime.trackers.files.FileEventListener
-
- All Implemented Interfaces:
EventListener
public class FileEventListener extends Object implements EventListener
Wrap aFileEventHandler
for being enlisted in theEventService
.- Since:
- 6.0
-
-
Field Summary
Fields Modifier and Type Field Description protected FileEventHandler
handler
-
Constructor Summary
Constructors Constructor Description FileEventListener(FileEventHandler anHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(Event anEvent)
An event was received.void
install()
void
uninstall()
-
-
-
Field Detail
-
handler
protected final FileEventHandler handler
-
-
Constructor Detail
-
FileEventListener
public FileEventListener(FileEventHandler anHandler)
-
-
Method Detail
-
handleEvent
public void handleEvent(Event anEvent)
Description copied from interface:EventListener
An event was received.- Specified by:
handleEvent
in interfaceEventListener
-
install
public void install()
-
uninstall
public void uninstall()
-
-