public class FileEvent extends Event
FileEventTracker
. Producers should use the static FileEvent#onEnter(Object, boolean)
and
FileEvent#onLeave(Object)
factory methods and fire events by invoking the event's send()
method. Consumers should implements the FileEventHandler
interface and register it in the
EventService
using the FileEventListener
wrapper.Modifier and Type | Method and Description |
---|---|
void |
handle(FileEventHandler handler) |
static void |
ignore(FileEventListener aListener) |
static void |
listen(FileEventListener aListener) |
static FileEvent |
onFile(Object source,
File aFile,
Object aMarker) |
void |
send() |
public static void listen(FileEventListener aListener)
public static void ignore(FileEventListener aListener)
public void send()
public void handle(FileEventHandler handler)
Copyright © 2015 Nuxeo SA. All rights reserved.