Interface QuerySettings.QuerySettingDef.Validator

Enclosing class:
QuerySettings.QuerySettingDef<T>
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 static interface QuerySettings.QuerySettingDef.Validator
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(Expression value, RemoteClusterService clusterService)
    Validates the setting value and returns the error message if there's an error, or null otherwise.
  • Method Details

    • validate

      @Nullable String validate(Expression value, RemoteClusterService clusterService)
      Validates the setting value and returns the error message if there's an error, or null otherwise.