Class EntityV1
java.lang.Object
org.graylog2.contentpacks.model.entities.EntityV1
- All Implemented Interfaces:
Entity,Identified,Typed,Versioned
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.graylog2.contentpacks.model.entities.Entity
Entity.EntityBuilder<SELF>Nested classes/interfaces inherited from interface org.graylog2.contentpacks.model.Identified
Identified.IdBuilder<SELF>Nested classes/interfaces inherited from interface org.graylog2.contentpacks.model.Typed
Typed.TypeBuilder<SELF>Nested classes/interfaces inherited from interface org.graylog2.contentpacks.model.Versioned
Versioned.VersionBuilder<SELF> -
Field Summary
FieldsFields inherited from interface org.graylog2.contentpacks.model.Identified
FIELD_META_IDFields inherited from interface org.graylog2.contentpacks.model.Typed
FIELD_META_TYPEFields inherited from interface org.graylog2.contentpacks.model.Versioned
FIELD_META_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityV1.Builderbuilder()abstract com.google.common.collect.ImmutableSet<Constraint>static EntitycreateRoot(ContentPack contentPack) abstract com.fasterxml.jackson.databind.JsonNodedata()abstract EntityV1.BuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.model.Identified
id
-
Field Details
-
VERSION
- See Also:
-
FIELD_DATA
- See Also:
-
FIELD_CONSTRAINTS
- See Also:
-
-
Constructor Details
-
EntityV1
public EntityV1()
-
-
Method Details
-
data
public abstract com.fasterxml.jackson.databind.JsonNode data() -
constraints
-
toEntityDescriptor
- Specified by:
toEntityDescriptorin interfaceEntity
-
toBuilder
-
builder
-
createRoot
-