Package org.graylog.plugins.views.search
Class Search
java.lang.Object
org.graylog.plugins.views.search.Search
- All Implemented Interfaces:
ParameterProvider,ContentPackable<SearchEntity>
public abstract class Search
extends Object
implements ContentPackable<SearchEntity>, ParameterProvider
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStreamsToQueriesWithoutStreams(Supplier<Set<String>> defaultStreamsSupplier) applyExecutionState(ExecutionState executionState) static Search.Builderbuilder()abstract org.joda.time.DateTimegetParameter(String parameterName) abstract Stringid()owner()abstract com.google.common.collect.ImmutableSet<Parameter>abstract com.google.common.collect.ImmutableSet<Query>queries()queryForSearchType(String searchTypeId) abstract Map<String,PluginMetadataSummary> requires()abstract Search.BuildertoContentPackEntity(EntityDescriptorIds entityDescriptorIds) 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_REQUIRES
- See Also:
-
FIELD_OWNER
- See Also:
-
-
Constructor Details
-
Search
public Search()
-
-
Method Details
-
id
-
queries
-
parameters
-
requires
-
owner
-
withOwner
-
createdAt
public abstract org.joda.time.DateTime createdAt() -
getParameter
- Specified by:
getParameterin interfaceParameterProvider
-
applyExecutionState
-
addStreamsToQueriesWithoutStreams
-
toBuilder
-
builder
-
usedStreamIds
-
streamIdsForPermissionsCheck
-
queryForSearchType
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable<SearchEntity>
-