Interface MailSender
- All Known Subinterfaces:
IMessageRecipient
- All Known Implementing Classes:
Console
,SimpleMessageRecipient
,User
public interface MailSender
An entity which is allowed to send mail to an
IUser
.
In Essentials, IUser and Console are the entities that implement this interface.-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the username of thisMailSender
.getUUID()
Gets theUUID
of thisMailSender
or null if this sender doesn't have a UUID.
-
Method Details
-
getName
String getName()Gets the username of thisMailSender
.- Returns:
- The sender's username.
-
getUUID
UUID getUUID()Gets theUUID
of thisMailSender
or null if this sender doesn't have a UUID.- Returns:
- The sender's
UUID
or null if N/A.
-