Module org.elasticsearch.server
Package org.elasticsearch.ingest
Interface IngestMetadata.ProcessorConfigUpgrader
- Enclosing class:
IngestMetadata
public static interface IngestMetadata.ProcessorConfigUpgrader
Functional interface for upgrading processor configs. An implementation of this will be associated with a specific processor type.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
maybeUpgrade
(Map<String, Object> processorConfig) Upgrades the config for an individual processor of the appropriate type, if necessary.
-
Method Details
-
maybeUpgrade
Upgrades the config for an individual processor of the appropriate type, if necessary.- Parameters:
processorConfig
- The config to upgrade, which will be mutated if required- Returns:
- Whether an upgrade was required
-