Class ImapConnectResult

java.lang.Object
io.jmix.imap.dto.ImapConnectResult
All Implemented Interfaces:
Serializable

public class ImapConnectResult extends Object implements Serializable
Describes result for test connection operation holding:
  • mailBox reference
  • result of operation
  • supported features
  • all folders preserving tree structure if test succeeded
See Also:
  • Field Details

    • mailBox

      protected ImapMailBox mailBox
    • success

      protected boolean success
    • failure

      protected ImapException failure
    • customFlagSupported

      protected boolean customFlagSupported
    • allFolders

      protected List<ImapFolderDto> allFolders
  • Constructor Details

    • ImapConnectResult

      public ImapConnectResult(ImapMailBox mailBox)
  • Method Details

    • getMailBox

      public ImapMailBox getMailBox()
    • setMailBox

      public void setMailBox(ImapMailBox mailBox)
    • isSuccess

      public boolean isSuccess()
    • setSuccess

      public void setSuccess(boolean success)
    • getFailure

      public ImapException getFailure()
    • setFailure

      public void setFailure(ImapException failure)
    • isCustomFlagSupported

      public boolean isCustomFlagSupported()
    • setCustomFlagSupported

      public void setCustomFlagSupported(boolean customFlagSupported)
    • getAllFolders

      public List<ImapFolderDto> getAllFolders()
    • setAllFolders

      public void setAllFolders(List<ImapFolderDto> allFolders)