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
public static class FileTailingMessageProducerSupport.FileTailingEvent extends FileIntegrationEvent
- See Also:
- Serialized Form
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description FileTailingEvent(Object source, String message, File file)
- 
Method SummaryModifier and Type Method Description FilegetFile()StringgetMessage()Return the text message emitted from the underlying tailing producer (Apache Commons or one of OS natives).StringtoString()Methods inherited from class org.springframework.integration.events.IntegrationEventgetCause, getSourceAsType
- 
Constructor Details
- 
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
 
 
-