@ConfigurationProperties(value="mail.supplier") @Validated public class MailSupplierProperties extends Object
Constructor and Description |
---|
MailSupplierProperties() |
Modifier and Type | Method and Description |
---|---|
@NotNull String |
getCharset() |
@NotNull String |
getExpression() |
@NotNull Properties |
getJavaMailProperties() |
@NotNull javax.mail.URLName |
getUrl() |
@NotNull String |
getUserFlag() |
boolean |
isDelete() |
boolean |
isIdleImap() |
boolean |
isMarkAsRead() |
void |
setCharset(String charset) |
void |
setDelete(boolean delete) |
void |
setExpression(String expression) |
void |
setIdleImap(boolean idleImap) |
void |
setJavaMailProperties(Properties javaMailProperties) |
void |
setMarkAsRead(boolean markAsRead) |
void |
setUrl(javax.mail.URLName url) |
void |
setUserFlag(String userFlag) |
public boolean isMarkAsRead()
public void setMarkAsRead(boolean markAsRead)
markAsRead
- the markAsRead to setpublic boolean isDelete()
public void setDelete(boolean delete)
delete
- the delete to setpublic boolean isIdleImap()
public void setIdleImap(boolean idleImap)
idleImap
- the idleImap to set@NotNull public @NotNull Properties getJavaMailProperties()
public void setJavaMailProperties(Properties javaMailProperties)
javaMailProperties
- the javaMailProperties to set@NotNull public @NotNull javax.mail.URLName getUrl()
public void setUrl(javax.mail.URLName url)
url
- the url to set@NotNull public @NotNull String getExpression()
public void setExpression(String expression)
expression
- the expression to set@NotNull public @NotNull String getCharset()
public void setCharset(String charset)
@NotNull public @NotNull String getUserFlag()
public void setUserFlag(String userFlag)
Copyright © 2022. All rights reserved.