Class Notifications
- java.lang.Object
-
- org.opennms.netmgt.config.notifications.Notifications
-
- All Implemented Interfaces:
java.io.Serializable
public class Notifications extends java.lang.Object implements java.io.Serializable
Top-level element for the notifications.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Notifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNotification(Notification notification)
boolean
equals(java.lang.Object obj)
Header
getHeader()
java.util.List<Notification>
getNotifications()
int
hashCode()
boolean
removeNotification(Notification notification)
void
setHeader(Header header)
void
setNotifications(java.util.List<Notification> notifications)
-
-
-
Method Detail
-
getHeader
public Header getHeader()
-
setHeader
public void setHeader(Header header)
-
getNotifications
public java.util.List<Notification> getNotifications()
-
setNotifications
public void setNotifications(java.util.List<Notification> notifications)
-
addNotification
public void addNotification(Notification notification)
-
removeNotification
public boolean removeNotification(Notification notification)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-