Interface ParameterizedValidationMatcher<P extends ParameterizedValidationMatcher.ControlParameters>
- All Superinterfaces:
ValidationMatcher
public interface ParameterizedValidationMatcher<P extends ParameterizedValidationMatcher.ControlParameters>
extends ValidationMatcher
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Field Summary
Fields inherited from interface org.citrusframework.validation.matcher.ValidationMatcher
logger, matcher, RESOURCE_PATH -
Method Summary
Modifier and TypeMethodDescriptionInstantiate new function parameters.default voidMethod called on validation.voidvalidate(String fieldName, String value, P controlParameters, TestContext context)
-
Method Details
-
validate
void validate(String fieldName, String value, P controlParameters, TestContext context) throws ValidationException - Throws:
ValidationException
-
getParameters
P getParameters()Instantiate new function parameters. -
validate
default void validate(String fieldName, String value, List<String> controlParameters, TestContext context) throws ValidationException Description copied from interface:ValidationMatcherMethod called on validation.- Specified by:
validatein interfaceValidationMatcher- Parameters:
fieldName- the fieldName for logging purpose.value- the value to be validated.controlParameters- the control parameters.- Throws:
ValidationException- when validation fails
-