public class NodeImpl extends PersistedImpl implements Node
fields, id
Modifier | Constructor and Description |
---|---|
protected |
NodeImpl(Map<String,Object> fields) |
protected |
NodeImpl(org.bson.types.ObjectId id,
Map<String,Object> fields) |
Modifier and Type | Method and Description |
---|---|
Map<String,Validator> |
getEmbeddedValidations(String key) |
org.joda.time.DateTime |
getLastSeen() |
String |
getNodeId() |
String |
getShortNodeId() |
String |
getTransportAddress() |
Node.Type |
getType() |
Map<String,Validator> |
getValidations() |
boolean |
isMaster() |
asMap, equals, getFields, getId, getObjectId, hashCode, toString
public String getTransportAddress()
getTransportAddress
in interface Node
public org.joda.time.DateTime getLastSeen()
getLastSeen
in interface Node
public String getShortNodeId()
getShortNodeId
in interface Node
public Map<String,Validator> getValidations()
getValidations
in interface Persisted
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.