Class ValidationMatcherUtils
- java.lang.Object
-
- com.consol.citrus.validation.matcher.ValidationMatcherUtils
-
public final class ValidationMatcherUtils extends Object
Utility class for validation matchers.- Author:
- Christian Wied
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
public static boolean isValidationMatcherExpression(String expression)
Checks if expression is a validation matcher expression.- Parameters:
expression- the expression to check- Returns:
-
-