Package org.graylog2.notifications
Interface Notification
- All Superinterfaces:
Persisted
- All Known Implementing Classes:
NotificationImpl
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionaddSeverity
(Notification.Severity severity) addTimestamp
(org.joda.time.DateTime timestamp) addType
(Notification.Type type) org.joda.time.DateTime
getType()
Methods inherited from interface org.graylog2.plugin.database.Persisted
asMap, getEmbeddedValidations, getFields, getId, getValidations
-
Method Details
-
addType
-
addTimestamp
-
addSeverity
-
addNode
-
getTimestamp
org.joda.time.DateTime getTimestamp() -
getType
Notification.Type getType() -
getSeverity
Notification.Severity getSeverity() -
getNodeId
String getNodeId() -
addDetail
-
getDetail
-
addNode
-