Record Class ConsoleEmailSender
java.lang.Object
java.lang.Record
com.soulfiremc.server.user.ConsoleEmailSender
- All Implemented Interfaces:
EmailSender
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aConsoleEmailSenderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidsendLoginCode(String recipient, String username, String code) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConsoleEmailSender
public ConsoleEmailSender()Creates an instance of aConsoleEmailSenderrecord class.
-
-
Method Details
-
sendLoginCode
- Specified by:
sendLoginCodein interfaceEmailSender
-
toString
-
hashCode
-
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.
-