Class Setting.SimpleKey

java.lang.Object
org.elasticsearch.common.settings.Setting.SimpleKey
All Implemented Interfaces:
Setting.Key
Direct Known Subclasses:
Setting.GroupKey, Setting.ListKey
Enclosing class:
Setting<T>

public static class Setting.SimpleKey extends Object implements Setting.Key
  • Field Details

    • key

      protected final String key
  • Constructor Details

    • SimpleKey

      public SimpleKey(String key)
  • Method Details

    • match

      public boolean match(String key)
      Specified by:
      match in interface Setting.Key
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • exists

      public boolean exists(Set<String> keys, Set<String> exclusions)
      Description copied from interface: Setting.Key
      Returns true if and only if this key is present in the given settings instance (ignoring given exclusions).
      Specified by:
      exists in interface Setting.Key
      Parameters:
      keys - keys to check
      exclusions - exclusions to ignore