public static class FileTailingMessageProducerSupport.FileTailingEvent extends FileIntegrationEvent
| Constructor and Description |
|---|
FileTailingEvent(java.lang.Object source,
java.lang.String message,
java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getFile() |
java.lang.String |
getMessage()
Return the text message emitted from the underlying tailing producer
(Apache Commons or one of
OS natives).
|
java.lang.String |
toString() |
public FileTailingEvent(java.lang.Object source,
java.lang.String message,
java.io.File file)
public java.lang.String getMessage()
Note that for the same event type (e.g. 'file not found') the text may be different depending on the producer and its platform.
public java.io.File getFile()
public java.lang.String toString()
toString in class org.springframework.integration.events.IntegrationEvent