Interface MailReaderFactory

All Known Implementing Classes:
MailReaderFactoryImpl

public interface MailReaderFactory
Factory Class which constructs MailReader for a provided MailServer instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    readerFor(com.atlassian.mail.server.MailServer mailServer, String folderName)
    Constructs MailReader for a provided MailServer instance.
  • Method Details

    • readerFor

      Optional<MailReader> readerFor(com.atlassian.mail.server.MailServer mailServer, String folderName)
      Constructs MailReader for a provided MailServer instance.
      Parameters:
      mailServer - instance of MailServer for which create reader;
      folderName - name of the folder to operate within;
      Returns:
      Optional MailReader for a given MailServer instance;