Class NativeEntityDescriptor
java.lang.Object
org.graylog2.contentpacks.model.entities.NativeEntityDescriptor
- All Implemented Interfaces:
Identified
,Typed
The unique description of a native entity by ID and type.
-
Nested Class Summary
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>
-
Field Summary
Fields inherited from interface org.graylog2.contentpacks.model.Identified
FIELD_META_ID
Fields inherited from interface org.graylog2.contentpacks.model.Typed
FIELD_META_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
abstract ModelId
static NativeEntityDescriptor
static NativeEntityDescriptor
create
(String contentPackEntityId, String nativeId, ModelType type, String title, boolean foundOnSystem) Shortcut forcreate(String, String, ModelType, String, boolean)
static NativeEntityDescriptor
static NativeEntityDescriptor
create
(ModelId contentPackEntityId, String nativeId, ModelType type, String title, boolean foundOnSystem) static NativeEntityDescriptor
static NativeEntityDescriptor
create
(ModelId contentPackEntityId, ModelId id, ModelType type, String title, boolean foundOnSystem) abstract boolean
abstract String
title()
abstract NativeEntityDescriptor.Builder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.contentpacks.model.Identified
id
-
Field Details
-
FIELD_ENTITY_ID
- See Also:
-
FIELD_ENTITY_FOUND_ON_SYSTEM
- See Also:
-
FIELD_ENTITY_TITLE
- See Also:
-
-
Constructor Details
-
NativeEntityDescriptor
public NativeEntityDescriptor()
-
-
Method Details
-
contentPackEntityId
-
title
-
foundOnSystem
public abstract boolean foundOnSystem() -
toBuilder
-
create
public static NativeEntityDescriptor create(ModelId contentPackEntityId, ModelId id, ModelType type, String title) -
create
public static NativeEntityDescriptor create(ModelId contentPackEntityId, ModelId id, ModelType type, String title, boolean foundOnSystem) -
create
public static NativeEntityDescriptor create(String contentPackEntityId, String nativeId, ModelType type, String title, boolean foundOnSystem) Shortcut forcreate(String, String, ModelType, String, boolean)
-
create
public static NativeEntityDescriptor create(String contentPackEntityId, String nativeId, ModelType type, String title) -
create
public static NativeEntityDescriptor create(ModelId contentPackEntityId, String nativeId, ModelType type, String title, boolean foundOnSystem) -
create
public static NativeEntityDescriptor create(ModelId contentPackEntityId, String nativeId, ModelType type, String title) -
builder
-