Class AbstractConfigurable
- java.lang.Object
-
- com.digitalpebble.stormcrawler.util.AbstractConfigurable
-
- All Implemented Interfaces:
Configurable
- Direct Known Subclasses:
JSoupFilters
,LDJsonParseFilter
,NavigationFilter
,ParseFilter
,URLFilter
,XPathFilter
public abstract class AbstractConfigurable extends Object implements Configurable
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigurable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(@NotNull Map<String,Object> stormConf, @NotNull com.fasterxml.jackson.databind.JsonNode filtersConf, @NotNull String name)
Called when this filter is being initializedString
getName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.digitalpebble.stormcrawler.util.Configurable
configure
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceConfigurable
-
configure
public void configure(@NotNull @NotNull Map<String,Object> stormConf, @NotNull @NotNull com.fasterxml.jackson.databind.JsonNode filtersConf, @NotNull @NotNull String name)
Description copied from interface:Configurable
Called when this filter is being initialized- Specified by:
configure
in interfaceConfigurable
- Parameters:
stormConf
- The Storm configuration used for the configurablefiltersConf
- the filter specific configuration. Never nullname
- The filter name.
-
-