Record Class NotificationEngineMailSetup
java.lang.Object
java.lang.Record
tv.hd3g.mailkit.notification.implmail.NotificationEngineMailSetup
public record NotificationEngineMailSetup(SupervisableManager supervisableManager, AppNotificationService appNotificationService, org.springframework.mail.javamail.JavaMailSender mailSender, String senderAddr, String replyToAddr, NotificationGroup groupDev, NotificationGroup groupAdmin, NotificationGroup groupSecurity)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationEngineMailSetup(SupervisableManager supervisableManager, AppNotificationService appNotificationService, org.springframework.mail.javamail.JavaMailSender mailSender, String senderAddr, String replyToAddr, NotificationGroup groupDev, NotificationGroup groupAdmin, NotificationGroup groupSecurity) Creates an instance of aNotificationEngineMailSetuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theappNotificationServicerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupAdminrecord component.groupDev()Returns the value of thegroupDevrecord component.Returns the value of thegroupSecurityrecord component.final inthashCode()Returns a hash code value for this object.org.springframework.mail.javamail.JavaMailSenderReturns the value of themailSenderrecord component.Returns the value of thereplyToAddrrecord component.Returns the value of thesenderAddrrecord component.Returns the value of thesupervisableManagerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NotificationEngineMailSetup
public NotificationEngineMailSetup(SupervisableManager supervisableManager, AppNotificationService appNotificationService, org.springframework.mail.javamail.JavaMailSender mailSender, String senderAddr, String replyToAddr, NotificationGroup groupDev, NotificationGroup groupAdmin, NotificationGroup groupSecurity) Creates an instance of aNotificationEngineMailSetuprecord class.- Parameters:
supervisableManager- the value for thesupervisableManagerrecord componentappNotificationService- the value for theappNotificationServicerecord componentmailSender- the value for themailSenderrecord componentsenderAddr- the value for thesenderAddrrecord componentreplyToAddr- the value for thereplyToAddrrecord componentgroupDev- the value for thegroupDevrecord componentgroupAdmin- the value for thegroupAdminrecord componentgroupSecurity- the value for thegroupSecurityrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
supervisableManager
Returns the value of thesupervisableManagerrecord component.- Returns:
- the value of the
supervisableManagerrecord component
-
appNotificationService
Returns the value of theappNotificationServicerecord component.- Returns:
- the value of the
appNotificationServicerecord component
-
mailSender
public org.springframework.mail.javamail.JavaMailSender mailSender()Returns the value of themailSenderrecord component.- Returns:
- the value of the
mailSenderrecord component
-
senderAddr
Returns the value of thesenderAddrrecord component.- Returns:
- the value of the
senderAddrrecord component
-
replyToAddr
Returns the value of thereplyToAddrrecord component.- Returns:
- the value of the
replyToAddrrecord component
-
groupDev
Returns the value of thegroupDevrecord component.- Returns:
- the value of the
groupDevrecord component
-
groupAdmin
Returns the value of thegroupAdminrecord component.- Returns:
- the value of the
groupAdminrecord component
-
groupSecurity
Returns the value of thegroupSecurityrecord component.- Returns:
- the value of the
groupSecurityrecord component
-