Class HvlNotificationMailProperties
java.lang.Object
tr.com.havelsan.javarch.notification.mailsender.provider.configuration.properties.HvlNotificationMailProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
@ConfigurationProperties(prefix="hvl.notification.mail.configuration")
public class HvlNotificationMailProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Properties of Mail Notification used to determine resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets mail event max message size.Gets mail event topic name.Gets mail max attachment quantity.Gets resource path.void
setMailEventMaxMessageSize
(Integer mailEventMaxMessageSize) Sets mail event max message size.void
setMailEventTopicName
(String mailEventTopicName) Sets mail event topic name.void
setMailMaxAttachmentQuantity
(Integer mailMaxAttachmentQuantity) Sets mail max attachment quantity.void
setResourcePath
(String resourcePath) Sets resource path.
-
Constructor Details
-
HvlNotificationMailProperties
public HvlNotificationMailProperties()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getResourcePath
Gets resource path.- Returns:
- the resource path
-
setResourcePath
Sets resource path.- Parameters:
resourcePath
- the resource path
-
getMailEventTopicName
Gets mail event topic name.- Returns:
- the mail event topic name
-
setMailEventTopicName
Sets mail event topic name.- Parameters:
mailEventTopicName
- the mail event topic name
-
getMailEventMaxMessageSize
Gets mail event max message size.- Returns:
- the mail event max message size
-
setMailEventMaxMessageSize
Sets mail event max message size.- Parameters:
mailEventMaxMessageSize
- the mail event max message size
-
getMailMaxAttachmentQuantity
Gets mail max attachment quantity.- Returns:
- the mail max attachment quantity
-
setMailMaxAttachmentQuantity
Sets mail max attachment quantity.- Parameters:
mailMaxAttachmentQuantity
- the mail max attachment quantity
-