Class MailSenderHtmlTemplate
java.lang.Object
best.skn.mail.models.MailSenderHtmlTemplate
Mail sender HTML template class for processing proper thymeleaf HTML template info in controllers
- Since:
- 2024-05-29
- Version:
- 2.1.0
- Author:
- SKN Shukhan
- Use Case:
- Spring Boot Reactive
- Dedicated To:
- Logno, Atoshi and My Parents
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMailSenderHtmlTemplate(String templateName, String variableName) Public Constructor with all private properties -
Method Summary
Modifier and TypeMethodDescriptionGetter method for `templateName` fieldGetter method for `variableName` fieldvoidsetTemplateName(String value) Setter method for `templateName` fieldvoidsetVariableName(String value) Setter method for `variableName` fieldtoString()Overridden built-in `toString` method
-
Field Details
-
templateName
Private String property for containing the Thymeleaf HTML Template name in the project- Since:
- v2.0.0
-
variableName
Private String property for containing the variable name inside Thymeleaf HTML Template in the project- Since:
- v2.0.0
-
-
Constructor Details
-
MailSenderHtmlTemplate
Public Constructor with all private properties- Parameters:
templateName- String containing the Thymeleaf HTML Template name in the projectvariableName- String containing the variable name inside Thymeleaf HTML Template in the project- Since:
- v2.1.0
-
-
Method Details
-
getTemplateName
Getter method for `templateName` field- Returns:
- String for `templateName` field
- Since:
- v2.1.0
-
setTemplateName
Setter method for `templateName` field- Parameters:
value- String for `templateName` field- Since:
- v2.1.0
-
getVariableName
Getter method for `variableName` field- Returns:
- String for `variableName` field
- Since:
- v2.1.0
-
setVariableName
Setter method for `variableName` field- Parameters:
value- String for `variableName` field- Since:
- v2.1.0
-
toString
-