Interface SearchTermStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SearchTermStrategy
Strategy to be used to generate a
SearchTerm
See ImapMailReceiver
- Since:
- 2.2
- Author:
- Oleg Zhurakousky
-
Method Summary
Modifier and Type Method Description javax.mail.search.SearchTerm
generateSearchTerm(javax.mail.Flags supportedFlags, javax.mail.Folder folder)
Will generate an instance of theSearchTerm
-
Method Details
-
generateSearchTerm
javax.mail.search.SearchTerm generateSearchTerm(javax.mail.Flags supportedFlags, javax.mail.Folder folder)Will generate an instance of theSearchTerm
- Parameters:
supportedFlags
- The supported flags.folder
- The folder.- Returns:
- The search term.
-