Class TectonicSummaryIndexerModule
java.lang.Object
gov.usgs.util.DefaultConfigurable
gov.usgs.earthquake.indexer.DefaultIndexerModule
gov.usgs.earthquake.tectonicsummary.TectonicSummaryIndexerModule
- All Implemented Interfaces:
IndexerModule,Configurable
Deprecated.
Tectonic Summary indexer module.
Provides a higher and more specific level of support for tectonic summary
products, including checking for "Reviewed" status on the tectonic summary.
These "Reviewed tectonic summmaries will always be preferred.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Summary weightFields inherited from class gov.usgs.earthquake.indexer.DefaultIndexerModule
ANSS_CONTRIBUTOR_WEIGHT, AUTHORITATIVE_EVENT_WEIGHT, AUTHORITATIVE_WEIGHT, DEFAULT_PREFERRED_WEIGHT, IGNORE_REGIONS_PROPERTY, NEIC_CONTRIBUTOR_WEIGHT, SAME_SOURCE_WEIGHTFields inherited from interface gov.usgs.earthquake.indexer.IndexerModule
LEVEL_DEFAULT, LEVEL_SUPPORTED, LEVEL_UNSUPPORTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetPreferredWeight(ProductSummary summary) Deprecated.Calculate the preferred weight for a product summary.intgetSupportLevel(Product product) Deprecated.This module provides a default level of support for any type of product.Methods inherited from class gov.usgs.earthquake.indexer.DefaultIndexerModule
configure, getBaseProductType, getIgnoreRegions, getProductSummary, getSignatureVerifier, setSignatureVerifierMethods inherited from class gov.usgs.util.DefaultConfigurable
getName, setName, shutdown, startup
-
Field Details
-
REVIEWED_TECTONIC_SUMMARY_WEIGHT
public static final int REVIEWED_TECTONIC_SUMMARY_WEIGHTDeprecated.Summary weight- See Also:
-
-
Constructor Details
-
TectonicSummaryIndexerModule
public TectonicSummaryIndexerModule()Deprecated.
-
-
Method Details
-
getSupportLevel
Deprecated.Description copied from class:DefaultIndexerModuleThis module provides a default level of support for any type of product.- Specified by:
getSupportLevelin interfaceIndexerModule- Overrides:
getSupportLevelin classDefaultIndexerModule- Parameters:
product- the product to test.- Returns:
- IndexerModule.LEVEL_DEFAULT.
-
getPreferredWeight
Deprecated.Description copied from class:DefaultIndexerModuleCalculate the preferred weight for a product summary. This method is called after creating a product summary, but before returning the created summary. It's return value is used to assign the product summary preferred weight. Within each type of product, the summary with the largest preferred weight is considered preferred.- Overrides:
getPreferredWeightin classDefaultIndexerModule- Parameters:
summary- the summary to calculate a preferred weight.- Returns:
- the absolute preferred weight.
- Throws:
Exception- if error occurs
-