public class JIPipeNotificationInbox extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JIPipeNotificationInbox.DismissedEvent |
static class |
JIPipeNotificationInbox.DismissedEventEmitter |
static interface |
JIPipeNotificationInbox.DismissedEventListener |
static class |
JIPipeNotificationInbox.PushedEvent |
static class |
JIPipeNotificationInbox.PushedEventEmitter |
static interface |
JIPipeNotificationInbox.PushedEventListener |
static class |
JIPipeNotificationInbox.UpdatedEvent
Event triggered when an inbox is updated
|
static class |
JIPipeNotificationInbox.UpdatedEventEmitter |
static interface |
JIPipeNotificationInbox.UpdatedEventListener |
Constructor and Description |
---|
JIPipeNotificationInbox() |
JIPipeNotificationInbox(JIPipeNotificationInbox other) |
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() |
JIPipeNotificationInbox.DismissedEventEmitter |
getDismissedEventEmitter() |
static JIPipeNotificationInbox |
getInstance() |
Set<JIPipeNotification> |
getNotifications() |
JIPipeNotificationInbox.PushedEventEmitter |
getPushedEventEmitter() |
JIPipeNotificationInbox.UpdatedEventEmitter |
getUpdatedEventEmitter() |
boolean |
hasNotifications() |
boolean |
isEmpty() |
void |
push(JIPipeNotification notification) |
public JIPipeNotificationInbox()
public JIPipeNotificationInbox(JIPipeNotificationInbox other)
public static JIPipeNotificationInbox getInstance()
public Set<JIPipeNotification> getNotifications()
public JIPipeNotificationInbox.DismissedEventEmitter getDismissedEventEmitter()
public JIPipeNotificationInbox.PushedEventEmitter getPushedEventEmitter()
public JIPipeNotificationInbox.UpdatedEventEmitter getUpdatedEventEmitter()
public void dismissAll()
public void push(JIPipeNotification notification)
public void dismiss(JIPipeNotification notification)
public void dismiss(String id)
public boolean isEmpty()
public void connectDismissTo(JIPipeNotificationInbox inbox)
inbox
- the targetpublic boolean hasNotifications()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.