public class SendMessageAsEmailPropertyValidationHandler
extends dk.heick.properties.collections.validationhandlers.SendMessagePropertyValidationHandler
SendMessagePropertyValidationHandler,
EmailValidationMessenger,
Serialized Form| Constructor and Description |
|---|
SendMessageAsEmailPropertyValidationHandler(dk.heick.properties.Property<List<String>> sendToList,
dk.heick.properties.Property<String> validationFailedSubject,
dk.heick.properties.Property<String> fromAddress,
dk.heick.properties.Property<InetAddress> mailSmtpHost)
Constructor using Property.
|
SendMessageAsEmailPropertyValidationHandler(dk.heick.properties.Property<List<String>> sendToList,
dk.heick.properties.Property<String> validationFailedSubject,
dk.heick.properties.Property<String> fromAddress,
dk.heick.properties.Property<InetAddress> mailSmtpHost,
dk.heick.properties.Property<String> mailTransportProtocol,
boolean doSystemExitIfAnythingNotInvalid)
Constructor using Property.
|
SendMessageAsEmailPropertyValidationHandler(String[] sendToArray,
String validationFailedSubject,
String fromAddress,
String mailSmtpHost)
Constructor.
|
SendMessageAsEmailPropertyValidationHandler(String[] sendToArray,
String validationFailedSubject,
String fromAddress,
String mailSmtpHost,
String mailTransportProtocol,
boolean doSystemExitIfAnythingNotInvalid)
Constructor.
|
SendMessageAsEmailPropertyValidationHandler(String sendTo,
String validationFailedSubject,
String fromAddress,
String mailSmtpHost)
Constructor.
|
SendMessageAsEmailPropertyValidationHandler(String sendTo,
String validationFailedSubject,
String fromAddress,
String mailSmtpHost,
String mailTransportProtocol,
boolean doSystemExitIfAnythingNotInvalid) |
afterValidation, getMessenger, getSendTo, getValidationFailedSubject, invalidProperty, invalidPropertyIO, isLazyLoad, sendMessagepublic SendMessageAsEmailPropertyValidationHandler(String[] sendToArray, String validationFailedSubject, String fromAddress, String mailSmtpHost, String mailTransportProtocol, boolean doSystemExitIfAnythingNotInvalid)
sendToArray - an array emails.validationFailedSubject - the subject in the email.fromAddress - the from address email.mailSmtpHost - the mail host.mailTransportProtocol - the mail transport protocol.doSystemExitIfAnythingNotInvalid - if true an System.exit(42); will be performed if either the PropertyIO or any Property is invalid.public SendMessageAsEmailPropertyValidationHandler(String[] sendToArray, String validationFailedSubject, String fromAddress, String mailSmtpHost)
sendToArray - an array emails.validationFailedSubject - the subject in the email.fromAddress - the from address emailmailSmtpHost - the mail hostpublic SendMessageAsEmailPropertyValidationHandler(String sendTo, String validationFailedSubject, String fromAddress, String mailSmtpHost, String mailTransportProtocol, boolean doSystemExitIfAnythingNotInvalid)
sendTo - the email adress to send tovalidationFailedSubject - the subject in the email.fromAddress - the from address email.mailSmtpHost - the mail host.mailTransportProtocol - the mail transport protocol.doSystemExitIfAnythingNotInvalid - if true an System.exit(42); will be performed if either the PropertyIO or any Property is invalid.public SendMessageAsEmailPropertyValidationHandler(String sendTo, String validationFailedSubject, String fromAddress, String mailSmtpHost)
sendTo - the email adress to send to.validationFailedSubject - the subject in the email.fromAddress - the from address email.mailSmtpHost - the mail host.public SendMessageAsEmailPropertyValidationHandler(dk.heick.properties.Property<List<String>> sendToList, dk.heick.properties.Property<String> validationFailedSubject, dk.heick.properties.Property<String> fromAddress, dk.heick.properties.Property<InetAddress> mailSmtpHost, dk.heick.properties.Property<String> mailTransportProtocol, boolean doSystemExitIfAnythingNotInvalid)
sendMessage method is executed.sendToList - a Property returning a list of strings containing email adresses.validationFailedSubject - a Property returning the subject in the email.fromAddress - a Property returning the email adress to send to.mailSmtpHost - a Property returning the mail host.mailTransportProtocol - a Property returning the mail transport protocol.doSystemExitIfAnythingNotInvalid - if true an System.exit(42); will be performed if either the PropertyIO or any Property is invalid.EmailPropertyTypepublic SendMessageAsEmailPropertyValidationHandler(dk.heick.properties.Property<List<String>> sendToList, dk.heick.properties.Property<String> validationFailedSubject, dk.heick.properties.Property<String> fromAddress, dk.heick.properties.Property<InetAddress> mailSmtpHost)
sendMessage method is executed.
sendToList - a Property returning a list of strings containing email adresses.validationFailedSubject - a Property returning the subject in the email.fromAddress - a Property returning the email adress to send to.mailSmtpHost - a Property returning the mail host.