| Package | Description |
|---|---|
| net.pterodactylus.util.notify |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNotification
Abstract base implementation of a
Notification that takes care of
everything but creating the text of the notification, so only
render(java.io.Writer) needs to be override by
subclasses. |
class |
TemplateNotification
Template-based implementation of a Notification. |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Notification> |
Notification.CREATED_TIME_SORTER
Sorts notifications by creation time, oldest first.
|
static Comparator<Notification> |
Notification.LAST_UPDATED_TIME_SORTER
Sorts notifications by last update time, newest first.
|
| Modifier and Type | Method and Description |
|---|---|
Notification |
NotificationManager.getNotification(String notificationId)
Returns the notification with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Notification> |
NotificationManager.getNotifications()
Returns all current notifications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NotificationManager.addNotification(Notification notification)
Adds the given notification.
|
void |
NotificationListener.notificationDismissed(Notification notification)
Notifies a listener that the given notification was dismissed.
|
void |
NotificationManager.notificationDismissed(Notification notification)
Notifies a listener that the given notification was dismissed.
|
void |
NotificationManager.removeNotification(Notification notification)
Removes the given notification.
|
| Constructor and Description |
|---|
NotificationListenerManager(Notification source)
Creates a new
NotificationListener manager. |
Copyright © 2026. All rights reserved.