public interface Notification extends Persisted
Modifier and Type | Interface and Description |
---|---|
static class |
Notification.Severity |
static class |
Notification.Type |
Modifier and Type | Method and Description |
---|---|
Notification |
addDetail(String key,
Object value) |
Notification |
addNode(Node node) |
Notification |
addNode(String nodeId) |
Notification |
addSeverity(Notification.Severity severity) |
Notification |
addTimestamp(org.joda.time.DateTime timestamp) |
Notification |
addType(Notification.Type type) |
Map<String,Object> |
asMap() |
Object |
getDetail(String key) |
String |
getNodeId() |
Notification.Severity |
getSeverity() |
org.joda.time.DateTime |
getTimestamp() |
Notification.Type |
getType() |
getEmbeddedValidations, getFields, getId, getValidations
Notification addType(Notification.Type type)
Notification addTimestamp(org.joda.time.DateTime timestamp)
Notification addSeverity(Notification.Severity severity)
Notification addNode(Node node)
org.joda.time.DateTime getTimestamp()
Notification.Type getType()
Notification.Severity getSeverity()
String getNodeId()
Notification addDetail(String key, Object value)
Notification addNode(String nodeId)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.