Class VideoChangedListener
java.lang.Object
org.nuxeo.ecm.platform.video.listener.VideoChangedListener
- All Implemented Interfaces:
EventListener
Light synchronous listener that schedules an asynchronous work to process the video info of a document.
This VideoInfoWork
will in turn schedule two asynchronous works to process the video storyboard and
conversions.
- Since:
- 5.5
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(Event event) Handle the given event.protected void
protected void
protected boolean
shouldProcess
(DocumentModel doc, String eventName)
-
Field Details
-
DISABLE_VIDEO_CONVERSIONS_GENERATION_LISTENER
- Since:
- 11.1
- See Also:
-
-
Constructor Details
-
VideoChangedListener
public VideoChangedListener()
-
-
Method Details
-
handleEvent
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
-
shouldProcess
-
resetProperties
- Throws:
IOException
-
scheduleAsyncProcessing
-