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 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 a NotificationEngineMailSetup record class.
      Parameters:
      supervisableManager - the value for the supervisableManager record component
      appNotificationService - the value for the appNotificationService record component
      mailSender - the value for the mailSender record component
      senderAddr - the value for the senderAddr record component
      replyToAddr - the value for the replyToAddr record component
      groupDev - the value for the groupDev record component
      groupAdmin - the value for the groupAdmin record component
      groupSecurity - the value for the groupSecurity record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • supervisableManager

      public SupervisableManager supervisableManager()
      Returns the value of the supervisableManager record component.
      Returns:
      the value of the supervisableManager record component
    • appNotificationService

      public AppNotificationService appNotificationService()
      Returns the value of the appNotificationService record component.
      Returns:
      the value of the appNotificationService record component
    • mailSender

      public org.springframework.mail.javamail.JavaMailSender mailSender()
      Returns the value of the mailSender record component.
      Returns:
      the value of the mailSender record component
    • senderAddr

      public String senderAddr()
      Returns the value of the senderAddr record component.
      Returns:
      the value of the senderAddr record component
    • replyToAddr

      public String replyToAddr()
      Returns the value of the replyToAddr record component.
      Returns:
      the value of the replyToAddr record component
    • groupDev

      public NotificationGroup groupDev()
      Returns the value of the groupDev record component.
      Returns:
      the value of the groupDev record component
    • groupAdmin

      public NotificationGroup groupAdmin()
      Returns the value of the groupAdmin record component.
      Returns:
      the value of the groupAdmin record component
    • groupSecurity

      public NotificationGroup groupSecurity()
      Returns the value of the groupSecurity record component.
      Returns:
      the value of the groupSecurity record component