Package org.codelibs.fess.crawler.util
Class FieldConfigs
java.lang.Object
org.codelibs.fess.crawler.util.FieldConfigs
Utility class for managing field configurations with parameter mappings.
This class provides functionality to retrieve and manage field-specific configurations
from a parameter map.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration class that holds parsed configuration values for a field. -
Constructor Summary
ConstructorsConstructorDescriptionFieldConfigs(Map<String, String> params) Constructs a new FieldConfigs instance with the specified parameter map. -
Method Summary
Modifier and TypeMethodDescriptionorg.dbflute.optional.OptionalThing<FieldConfigs.Config> Retrieves the configuration for the specified field name.
-
Constructor Details
-
FieldConfigs
Constructs a new FieldConfigs instance with the specified parameter map.- Parameters:
params- the map containing field names as keys and configuration values as values
-
-
Method Details
-
getConfig
Retrieves the configuration for the specified field name.- Parameters:
fieldName- the name of the field to get configuration for- Returns:
- an OptionalThing containing the Config if the field exists and has a non-blank value, otherwise an empty OptionalThing
-