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
- Since:
- 3.0
- Author:
- Gary Russell, Artem Bilan, Ali Shahbour, Vladimir Plizga
- See Also:
-
Field Summary
Fields inherited from class IntegrationEvent
causeFields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()Return the text message emitted from the underlying tailing producer (Apache Commons or one of OS natives).toString()Methods inherited from class IntegrationEvent
getCause, getSourceAsTypeMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource
-
Constructor Details
-
FileTailingEvent
-
-
Method Details
-
getMessage
Return 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 classIntegrationEvent
-