Class WidgetDTO
java.lang.Object
org.graylog.plugins.views.search.views.WidgetDTO
- All Implemented Interfaces:
UsesSearchFilters,ContentPackable<WidgetEntity>
public abstract class WidgetDTO
extends Object
implements ContentPackable<WidgetEntity>, UsesSearchFilters
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WidgetDTO.Builderbuilder()abstract WidgetConfigDTOconfig()abstract Stringfilter()abstract List<UsedSearchFilter>filters()abstract Stringid()abstract Optional<BackendQuery>query()streams()abstract WidgetDTO.BuildertoContentPackEntity(EntityDescriptorIds entityDescriptorIds) abstract Stringtype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntity
-
Field Details
-
FIELD_ID
- See Also:
-
FIELD_TYPE
- See Also:
-
FIELD_FILTER
- See Also:
-
FIELD_SEARCH_FILTERS
- See Also:
-
FIELD_CONFIG
- See Also:
-
FIELD_TIMERANGE
- See Also:
-
FIELD_QUERY
- See Also:
-
FIELD_STREAMS
- See Also:
-
-
Constructor Details
-
WidgetDTO
public WidgetDTO()
-
-
Method Details
-
id
-
type
-
filter
-
filters
- Specified by:
filtersin interfaceUsesSearchFilters
-
timerange
-
query
-
streams
-
config
-
builder
-
toBuilder
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable<WidgetEntity>
-