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 Type
    Method
    Description
    boolean
    maybeUpgrade(Map<String,Object> processorConfig)
    Upgrades the config for an individual processor of the appropriate type, if necessary.
  • Method Details

    • maybeUpgrade

      boolean maybeUpgrade(Map<String,Object> processorConfig)
      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