Class ValidationMatcherUtils
java.lang.Object
org.citrusframework.validation.matcher.ValidationMatcherUtils
Utility class for validation matchers.
- Author:
- Christian Wied
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetParameterListAsString(List<String> parameters) static booleanisValidationMatcherExpression(String expression) Checks if expression is a validation matcher expression.static voidresolveValidationMatcher(String fieldName, String fieldValue, String validationMatcherExpression, TestContext context) This method resolves a custom validationMatcher to its respective result.
-
Method Details
-
resolveValidationMatcher
public static void resolveValidationMatcher(String fieldName, String fieldValue, String validationMatcherExpression, TestContext context) This method resolves a custom validationMatcher to its respective result.- Parameters:
fieldName- the name of the fieldfieldValue- the value of the fieldvalidationMatcherExpression- to evaluate.context- the test context
-
isValidationMatcherExpression
Checks if expression is a validation matcher expression.- Parameters:
expression- the expression to check- Returns:
-
getParameterListAsString
-