Class MailSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.mail.MailSupplierProperties
@ConfigurationProperties("mail.supplier")
@Validated
public class MailSupplierProperties
extends Object
Properties for the file supplier.
- Author:
- Gary Russell, Artem Bilan, Soby Chacko
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
@NotNull String
@NotNull Properties
@NotNull jakarta.mail.URLName
getUrl()
@NotNull String
boolean
isDelete()
boolean
boolean
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
(jakarta.mail.URLName url) void
setUserFlag
(String userFlag)
-
Constructor Details
-
MailSupplierProperties
public MailSupplierProperties()
-
-
Method Details
-
isMarkAsRead
public boolean isMarkAsRead()- Returns:
- the markAsRead
-
setMarkAsRead
public void setMarkAsRead(boolean markAsRead) - Parameters:
markAsRead
- the markAsRead to set
-
isDelete
public boolean isDelete()- Returns:
- the delete
-
setDelete
public void setDelete(boolean delete) - Parameters:
delete
- the delete to set
-
isIdleImap
public boolean isIdleImap()- Returns:
- the idleImap
-
setIdleImap
public void setIdleImap(boolean idleImap) - Parameters:
idleImap
- the idleImap to set
-
getJavaMailProperties
- Returns:
- the javaMailProperties
-
setJavaMailProperties
- Parameters:
javaMailProperties
- the javaMailProperties to set
-
getUrl
@NotNull public @NotNull jakarta.mail.URLName getUrl()- Returns:
- the url
-
setUrl
public void setUrl(jakarta.mail.URLName url) - Parameters:
url
- the url to set
-
getExpression
- Returns:
- the expression
-
setExpression
- Parameters:
expression
- the expression to set
-
getCharset
-
setCharset
-
getUserFlag
-
setUserFlag
-