public class JIPipeNotificationInbox extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JIPipeNotificationInbox.DismissedEvent |
static class |
JIPipeNotificationInbox.PushedEvent |
static class |
JIPipeNotificationInbox.UpdatedEvent
Event triggered when an inbox is updated
|
Constructor and Description |
---|
JIPipeNotificationInbox() |
Modifier and Type | Method and Description |
---|---|
void |
connectDismissTo(JIPipeNotificationInbox inbox)
Connects all dismisses in this notification inbox to another notification inbox
|
void |
dismiss(JIPipeNotification notification) |
void |
dismiss(String id) |
void |
dismissAll() |
EventBus |
getEventBus() |
static JIPipeNotificationInbox |
getInstance() |
Set<JIPipeNotification> |
getNotifications() |
boolean |
isEmpty() |
void |
push(JIPipeNotification notification) |
public static JIPipeNotificationInbox getInstance()
public Set<JIPipeNotification> getNotifications()
public void dismissAll()
public void push(JIPipeNotification notification)
public void dismiss(JIPipeNotification notification)
public void dismiss(String id)
public EventBus getEventBus()
public boolean isEmpty()
public void connectDismissTo(JIPipeNotificationInbox inbox)
inbox
- the targetCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.