Class IngestionTrigger
- java.lang.Object
-
- org.nuxeo.ecm.platform.scanimporter.listener.IngestionTrigger
-
- All Implemented Interfaces:
EventListener
public class IngestionTrigger extends Object implements EventListener
Listen to Scheduler events to check if new scanned files are availables Trigger the importer if not already busy.- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description static String
START_EVENT
-
Constructor Summary
Constructors Constructor Description IngestionTrigger()
-
-
-
Field Detail
-
START_EVENT
public static final String START_EVENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
-