Class UpdateFolders

All Implemented Interfaces:
Future<List<Folder>>, Associator, Eligible

public class UpdateFolders extends Event<List<Folder>>
Triggers the retrieval of mails (update) by a MailStoreMonitor.

Must be fired on a MailChannel.

  • Constructor Details

    • UpdateFolders

      public UpdateFolders(String... folderNames)
      Causes new messages to be retrieved from the given folders.

      The folders specified may be a subset of the folder names used in the initial OpenMailConnection event. If left empty, all folders specified in the open event are retrieved again.

      Parameters:
      folderNames - the folder names
  • Method Details

    • folderNames

      public String[] folderNames()
      Returns the folder names.
      Returns:
      the string[]