Package io.jmix.imap
Class ImapProperties
java.lang.Object
io.jmix.imap.ImapProperties
@ConfigurationProperties(prefix="jmix.imap")
@ConstructorBinding
public class ImapProperties
extends Object
-
Constructor Summary
ConstructorDescriptionImapProperties
(boolean trustAllCertificates, int updateBatchSize, boolean clearCustomFlags, boolean debug, int timeoutSeconds, int eventsBatchSize, String imapSyncCron, boolean useDefaultQuartzConfiguration) -
Method Summary
-
Constructor Details
-
ImapProperties
public ImapProperties(@DefaultValue("false") boolean trustAllCertificates, @DefaultValue("100") int updateBatchSize, @DefaultValue("false") boolean clearCustomFlags, @DefaultValue("false") boolean debug, @DefaultValue("5") int timeoutSeconds, @DefaultValue("20") int eventsBatchSize, @DefaultValue("0 * * * * ?") String imapSyncCron, @DefaultValue("true") boolean useDefaultQuartzConfiguration)
-
-
Method Details
-
isTrustAllCertificates
public boolean isTrustAllCertificates() -
getUpdateBatchSize
public int getUpdateBatchSize() -
isClearCustomFlags
public boolean isClearCustomFlags() -
isDebug
public boolean isDebug() -
getTimeoutSeconds
public int getTimeoutSeconds() -
getEventsBatchSize
public int getEventsBatchSize() -
getUseDefaultQuartzConfiguration
public boolean getUseDefaultQuartzConfiguration()- See Also:
-
useDefaultQuartzConfiguration
-
getImapSyncCron
- See Also:
-
imapSyncCron
-