Class DefaultMailboxProcessRequest
java.lang.Object
ch.tocco.nice2.optional.mailintegration.api.DefaultMailboxProcessRequest
- All Implemented Interfaces:
MailboxProcessRequest
- Direct Known Subclasses:
MailboxContribution
-
Constructor Summary
ConstructorDescriptionDefaultMailboxProcessRequest
(String mailboxUrl) DefaultMailboxProcessRequest
(String mailboxUrl, boolean readRecursive, boolean removeMailsOnFinish) DefaultMailboxProcessRequest
(String mailboxUrl, @Nullable jakarta.mail.search.SearchTerm searchTerm, boolean readRecursive, boolean removeMailsOnFinish) -
Method Summary
Modifier and TypeMethodDescriptionboolean
jakarta.mail.search.SearchTerm
int
hashCode()
boolean
boolean
void
setMailboxUrl
(String mailboxUrl) void
setReadRecursive
(boolean readRecursive) void
setRemoveMailsOnFinish
(boolean removeMailsOnFinish) void
setSearchTerm
(jakarta.mail.search.SearchTerm searchTerm) toString()
-
Constructor Details
-
DefaultMailboxProcessRequest
-
DefaultMailboxProcessRequest
public DefaultMailboxProcessRequest(String mailboxUrl, @Nullable @Nullable jakarta.mail.search.SearchTerm searchTerm, boolean readRecursive, boolean removeMailsOnFinish) -
DefaultMailboxProcessRequest
public DefaultMailboxProcessRequest(String mailboxUrl, boolean readRecursive, boolean removeMailsOnFinish)
-
-
Method Details
-
getMailboxUrl
- Specified by:
getMailboxUrl
in interfaceMailboxProcessRequest
-
getSearchTerm
public jakarta.mail.search.SearchTerm getSearchTerm()- Specified by:
getSearchTerm
in interfaceMailboxProcessRequest
-
isReadRecursive
public boolean isReadRecursive()- Specified by:
isReadRecursive
in interfaceMailboxProcessRequest
-
removeMailsOnFinish
public boolean removeMailsOnFinish()- Specified by:
removeMailsOnFinish
in interfaceMailboxProcessRequest
-
setMailboxUrl
-
setSearchTerm
public void setSearchTerm(jakarta.mail.search.SearchTerm searchTerm) -
setReadRecursive
public void setReadRecursive(boolean readRecursive) -
setRemoveMailsOnFinish
public void setRemoveMailsOnFinish(boolean removeMailsOnFinish) -
equals
-
hashCode
public int hashCode() -
toString
-