Package org.graylog.plugins.views
Class ViewsModule
java.lang.Object
com.google.inject.AbstractModule
org.graylog2.plugin.inject.Graylog2Module
org.graylog2.plugin.PluginModule
org.graylog2.plugin.VersionAwareModule
org.graylog.plugins.views.ViewsModule
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
EngineBindings,ScriptingApiModule,ViewsBindings
-
Field Summary
Fields inherited from class org.graylog2.plugin.inject.Graylog2Module
SYSTEM_REST_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.inject.binder.LinkedBindingBuilder<ExportBackend>bindExportBackend(SearchVersion supportedVersion) protected com.google.inject.multibindings.OptionalBinder<QueryStringDecorator>protected com.google.inject.multibindings.MapBinder<String,QueryBackend<? extends GeneratedQueryContext>> queryBackendBinder(SearchVersion version) protected com.google.inject.multibindings.Multibinder<QueryMetadataDecorator>protected com.google.inject.multibindings.Multibinder<QueryValidator>protected voidregisterESQueryDecorator(Class<? extends QueryStringDecorator> esQueryDecorator) protected voidregisterPivotAggregationFunction(String name, String description, Class<? extends SeriesSpec> seriesSpecClass) protected voidregisterProvidedViewsCapability(String capability, PluginMetaData plugin) protected com.google.inject.binder.ScopedBindingBuilderregisterQueryBackend(SearchVersion version, String name, Class<? extends QueryBackend<? extends GeneratedQueryContext>> implementation) protected voidregisterQueryMetadataDecorator(Class<? extends QueryMetadataDecorator> queryMetadataDecorator) protected voidregisterQueryValidator(Class<? extends QueryValidator> validator) protected voidregisterSearchNormalizer(Class<? extends SearchNormalizer> normalizer) protected voidregisterSearchRequirement(Class<? extends Requirement<Search>> searchRequirement) protected voidregisterSearchValidator(Class<? extends SearchValidator> validator) protected voidregisterViewRequirement(Class<? extends Requirement<ViewDTO>> viewRequirement) protected com.google.inject.multibindings.Multibinder<SearchNormalizer>protected com.google.inject.multibindings.Multibinder<SearchNormalizer>protected com.google.inject.multibindings.Multibinder<Requirement<Search>>protected com.google.inject.multibindings.Multibinder<SearchValidator>protected com.google.inject.multibindings.MapBinder<String,SeriesDescription> protected com.google.inject.multibindings.Multibinder<Requirement<ViewDTO>>protected com.google.inject.multibindings.MapBinder<String,PluginMetaData> Methods inherited from class org.graylog2.plugin.VersionAwareModule
bindForVersion, bindForVersionMethods inherited from class org.graylog2.plugin.PluginModule
addAlarmCallback, addAlertCondition, addAuditEventFormatter, addAuditEventTypes, addAuthServiceBackend, addClusterConfigValidator, addCodec, addCodec, addConfigBeans, addConstraintChecker, addEntityFacade, addEntityScope, addEventFieldValueProvider, addEventProcessor, addEventStorageHandler, addExportFormat, addExportFormat, addGRNType, addInitializer, addJerseyExceptionMapper, addJobResourceHandler, addJobSchedulerSchedule, addMessageFilter, addMessageInput, addMessageInput, addMessageOutput, addMessageOutput, addMessageOutput2, addMessageProcessor, addMigration, addNotificationType, addNotificationType, addPasswordAlgorithm, addPeriodical, addPermissions, addPluginUISettingsProvider, addRestResource, addRetentionStrategy, addRotationStrategy, addSchedulerCapabilities, addSchedulerJob, addSchedulerJob, addTransport, addTransport, authServiceBackendBinder, bindMessageQueueImplementation, getConfigBeans, isCloud, jobResourceHandlerBinder, pluginUISettingsProviderBinder, processorBinder, processorDescriptorBinder, schdulerCapabilitiesBinderMethods inherited from class org.graylog2.plugin.inject.Graylog2Module
addPreflightCheck, addSystemRestResource, alertConditionBinder, auditEventFormatterMapBinder, auditEventSenderBinder, auditEventTypesBinder, authenticationRealmBinder, authorizationOnlyRealmBinder, clusterConfigMapBinder, codecMapBinder, constraintCheckerBinder, entityFacadeBinder, findInnerClassAnnotatedWith, inputsMapBinder, installAlertCondition, installAlertConditionWithCustomName, installAuditEventFormatter, installAuditEventTypes, installCodec, installCodec, installCodec, installInput, installInput, installLookupCache, installLookupDataAdapter, installLookupDataAdapter2, installOutput, installOutput, installOutput2, installPermissions, installRetentionStrategy, installRotationStrategy, installSearchResponseDecorator, installTransport, installTransport, installViewResolver, jacksonSubTypesBinder, jerseyAdditionalComponentsBinder, jerseyContainerResponseFilterBinder, jerseyDynamicFeatureBinder, jerseyExceptionMapperBinder, lookupCacheBinder, lookupDataAdapterBinder, lookupDataAdapterBinder2, migrationsBinder, outputsMapBinder, outputsMapBinder2, passwordAlgorithmBinder, permissionsBinder, preflightChecksBinder, registerJacksonSubtype, registerJacksonSubtype, retentionStrategyMapBinder, rotationStrategiesMapBinder, searchResponseDecoratorBinder, serviceBinder, transportMapBinder, viewResolverBinderMethods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
ViewsModule
public ViewsModule()
-
-
Method Details
-
bindExportBackend
protected com.google.inject.binder.LinkedBindingBuilder<ExportBackend> bindExportBackend(SearchVersion supportedVersion) -
registerQueryMetadataDecorator
protected void registerQueryMetadataDecorator(Class<? extends QueryMetadataDecorator> queryMetadataDecorator) -
queryMetadataDecoratorBinder
protected com.google.inject.multibindings.Multibinder<QueryMetadataDecorator> queryMetadataDecoratorBinder() -
registerProvidedViewsCapability
-
viewsCapabilityBinder
-
registerViewRequirement
-
viewRequirementBinder
-
registerSearchRequirement
-
searchRequirementBinder
protected com.google.inject.multibindings.Multibinder<Requirement<Search>> searchRequirementBinder() -
seriesSpecBinder
-
registerPivotAggregationFunction
protected void registerPivotAggregationFunction(String name, String description, Class<? extends SeriesSpec> seriesSpecClass) -
queryBackendBinder
protected com.google.inject.multibindings.MapBinder<String,QueryBackend<? extends GeneratedQueryContext>> queryBackendBinder(SearchVersion version) -
registerQueryBackend
protected com.google.inject.binder.ScopedBindingBuilder registerQueryBackend(SearchVersion version, String name, Class<? extends QueryBackend<? extends GeneratedQueryContext>> implementation) -
registerESQueryDecorator
-
esQueryDecoratorBinder
protected com.google.inject.multibindings.OptionalBinder<QueryStringDecorator> esQueryDecoratorBinder() -
registerQueryValidator
-
queryValidatorMultibinder
-
registerSearchNormalizer
-
searchNormalizerBinder
-
searchPostValidationNormalizerBinder
protected com.google.inject.multibindings.Multibinder<SearchNormalizer> searchPostValidationNormalizerBinder() -
registerSearchValidator
-
searchValidatorBinder
-