Class FileTailingMessageProducerSupport.FileTailingEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.file.event.FileIntegrationEvent
org.springframework.integration.file.tail.FileTailingMessageProducerSupport.FileTailingEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FileTailingMessageProducerSupport.FileTailingIdleEvent
- Enclosing class:
- FileTailingMessageProducerSupport
- See Also:
- 
Field SummaryFields inherited from class org.springframework.integration.events.IntegrationEventcauseFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFile()Return the text message emitted from the underlying tailing producer (Apache Commons or one of OS natives).toString()Methods inherited from class org.springframework.integration.events.IntegrationEventgetCause, getSourceAsTypeMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
FileTailingEvent
 
- 
- 
Method Details- 
getMessageReturn the text message emitted from the underlying tailing producer (Apache Commons or one of OS natives).Note that for the same event type (e.g. 'file not found') the text may be different depending on the producer and its platform. - Returns:
- the original text of the tailing event
 
- 
getFile
- 
toString- Overrides:
- toStringin class- IntegrationEvent
 
 
-