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()
RemoteNotificationgetName in interface RemoteNotificationpublic void writeBody(CommandSender sender) throws IOException
RemoteNotificationwriteBody in interface RemoteNotificationsender - the command sender to use to write the notification body.IOException - if an exception occurs while writing the notification body.