Class Notifications
- java.lang.Object
-
- org.xwiki.notifications.rest.model.Notifications
-
public class Notifications extends Object
Represent a serializable version of a notification list, retro-compatible with the old notification services.- Since:
- 10.4RC1
- Version:
- $Id: 6cbc4cb836358c3314803f96747409ef42a6efb1 $
-
-
Constructor Summary
Constructors Constructor Description Notifications(Collection<Notification> notifications)
Construct a Notifications.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Notification>
getNotifications()
-
-
-
Constructor Detail
-
Notifications
public Notifications(Collection<Notification> notifications)
Construct a Notifications.- Parameters:
notifications
- list of notifications
-
-
Method Detail
-
getNotifications
public Collection<Notification> getNotifications()
- Returns:
- the list of the notifications
-
-