Interface IMaildirMessageWorkflowEvent

All Superinterfaces:
IMaildirWorkflowEvent, IWorkflowEvent, IWorkflowEventSourceWorkflowEvent

@Scriptable public interface IMaildirMessageWorkflowEvent extends IMaildirWorkflowEvent
  • Method Details

    • getMaildirDirectory

      Path getMaildirDirectory()
      Get the maildir directory that is being watched for messages.
      Returns:
      The maildir directory that is being watched for messages.
    • getMaildirFile

      Path getMaildirFile()
      Get the file that has been detected in the watched maildir directory.
      Returns:
      The file that has been detected in the watched maildir directory.
    • getMessage

      javax.mail.Message getMessage() throws Exception
      Get the message that created this event.
      Returns:
      The message that created this event.
      Throws:
      Exception - If the message could not be accessed, e.g. due to an network or parsing error.