Interface KeyIgnorer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KeyIgnorer
Determines if key should be ignored while processing configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    static KeyIgnorer
    Creates a key ignorer that uses specified deletedPrefixes.
    boolean
    Returns true if key should be ignored.
  • Method Details

    • shouldIgnore

      boolean shouldIgnore(String key)
      Returns true if key should be ignored.
    • fromDeletedPrefixes

      static KeyIgnorer fromDeletedPrefixes(Collection<String> deletedPrefixes)
      Creates a key ignorer that uses specified deletedPrefixes.