Package io.jmix.imap.dto
Class ImapConnectResult
java.lang.Object
io.jmix.imap.dto.ImapConnectResult
- All Implemented Interfaces:
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 Summary
Modifier and TypeFieldDescriptionprotected List<ImapFolderDto>
protected boolean
protected ImapException
protected ImapMailBox
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setAllFolders
(List<ImapFolderDto> allFolders) void
setCustomFlagSupported
(boolean customFlagSupported) void
setFailure
(ImapException failure) void
setMailBox
(ImapMailBox mailBox) void
setSuccess
(boolean success)
-
Field Details
-
mailBox
-
success
protected boolean success -
failure
-
customFlagSupported
protected boolean customFlagSupported -
allFolders
-
-
Constructor Details
-
ImapConnectResult
-
-
Method Details
-
getMailBox
-
setMailBox
-
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean success) -
getFailure
-
setFailure
-
isCustomFlagSupported
public boolean isCustomFlagSupported() -
setCustomFlagSupported
public void setCustomFlagSupported(boolean customFlagSupported) -
getAllFolders
-
setAllFolders
-