Class OpenedNotifications
java.lang.Object
io.jmix.flowui.testassist.notification.OpenedNotifications
Bean contains opened 
Notifications in order of opening.
 Example of the storage order of notifications:
- first opened notification has index 0
- seconds opened notification has index 1
- last opened notification has index openedNotifications.size() - 1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static Map<com.vaadin.flow.component.notification.Notification,NotificationInfo> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCloses openedNotifications and removes them from the storage map.protected NotificationInfoprotected voidprotected void
- 
Field Details- 
openedNotificationsprotected static Map<com.vaadin.flow.component.notification.Notification,NotificationInfo> openedNotifications
 
- 
- 
Constructor Details- 
OpenedNotificationspublic OpenedNotifications()
 
- 
- 
Method Details- 
getNotifications- Returns:
- immutable list of NotificationInfos
 
- 
getLastNotification- Returns:
- the most recent opened NotificationInfoornullif no opened notifications
 
- 
closeOpenedNotificationspublic void closeOpenedNotifications()Closes openedNotifications and removes them from the storage map.
- 
onNotificationOpened
- 
onNotificationClosed
- 
mapToNotificationInfo
 
-