public class EventAvailableNotification extends Object implements RemoteNotification
Constructor and Description |
---|
EventAvailableNotification() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the notification.
|
void |
writeBody(CommandSender sender)
Writes the body of the notification using the given command sender.
|
public String getName()
RemoteNotification
getName
in interface RemoteNotification
public void writeBody(CommandSender sender) throws IOException
RemoteNotification
writeBody
in interface RemoteNotification
sender
- the command sender to use to write the notification body.IOException
- if an exception occurs while writing the notification body.