Interface Configuration.ConfigValidator<T>

All Known Implementing Classes:
ExistingFileValidator, ExistingPathValidator, HostnameValidator, MinionRootValidator, NonExistingPathValidator, PathOwnershipValidator, RemoteValidator
Enclosing class:
Configuration
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 Configuration.ConfigValidator<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(T value)
    Validates a single value.
  • Method Details

    • validate

      boolean validate(T value)
      Validates a single value.
      Parameters:
      value - the parameter value.
      Returns:
      whether the value is valid.