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