Class FileTailingMessageProducerSupport.FileTailingEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileTailingMessageProducerSupport.FileTailingIdleEvent
Enclosing class:
FileTailingMessageProducerSupport

public static class FileTailingMessageProducerSupport.FileTailingEvent extends FileIntegrationEvent
See Also:
  • Constructor Details

    • FileTailingEvent

      public FileTailingEvent(Object source, String message, File file)
  • Method Details

    • getMessage

      public String 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

      public File getFile()
    • toString

      public String toString()
      Overrides:
      toString in class IntegrationEvent