Interface Validator<T>
-
- Type Parameters:
T- The type of values to validate.
- All Known Implementing Classes:
IndexAliasDefinitionValidator,IndexSettingsValidator,NamedDynamicTemplateListValidator,RootTypeMappingValidator
public interface Validator<T>A component responsible for checking that an expected and actual value are identical.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidvalidate(ValidationErrorCollector errorCollector, T expected, T actual)default voidvalidateAllIgnoreUnexpected(ValidationErrorCollector errorCollector, ValidationContextType type, String messageIfMissing, Map<String,? extends T> expectedMap, Map<String,? extends T> actualMap)default voidvalidateAllIncludingUnexpected(ValidationErrorCollector errorCollector, ValidationContextType type, Map<String,? extends T> expectedMap, Map<String,? extends T> actualMap)
-
-
-
Method Detail
-
validate
void validate(ValidationErrorCollector errorCollector, T expected, T actual)
-
validateAllIgnoreUnexpected
default void validateAllIgnoreUnexpected(ValidationErrorCollector errorCollector, ValidationContextType type, String messageIfMissing, Map<String,? extends T> expectedMap, Map<String,? extends T> actualMap)
-
validateAllIncludingUnexpected
default void validateAllIncludingUnexpected(ValidationErrorCollector errorCollector, ValidationContextType type, Map<String,? extends T> expectedMap, Map<String,? extends T> actualMap)
-
-