Interface ComparisonRuleBuilder.ChooseMatcher
-
- All Superinterfaces:
ComparisonRuleBuilder.ChooseMatcher
- Enclosing interface:
- ComparisonRuleBuilder
@Deprecated(forRemoval=true, since="1.3.0") @API(status=DEPRECATED, since="1.3.0") public static interface ComparisonRuleBuilder.ChooseMatcher extends ComparisonRuleBuilder.ChooseMatcher
Deprecated, for removal: This API element is subject to removal in a future version.Since 1.3.0 - UseComparisonRuleBuilder.ChooseMatcherfrom core package instead.Allows to choose the comparison for the value.- Author:
- Simon Taddiken
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ComparisonRuleBuilderignore()Deprecated, for removal: This API element is subject to removal in a future version.Ignores values during comparison.ComparisonRuleBuildermustMatch(Predicate<? super Object> predicate)Deprecated, for removal: This API element is subject to removal in a future version.The value must match the given predicate.ComparisonRuleBuildermustMatch(Pattern regex)Deprecated, for removal: This API element is subject to removal in a future version.String representation of the value must match the given regex.
-
-
-
Method Detail
-
ignore
ComparisonRuleBuilder ignore()
Deprecated, for removal: This API element is subject to removal in a future version.Ignores values during comparison.- Specified by:
ignorein interfaceComparisonRuleBuilder.ChooseMatcher- Returns:
- DSL object for specifying further rules.
-
mustMatch
ComparisonRuleBuilder mustMatch(Pattern regex)
Deprecated, for removal: This API element is subject to removal in a future version.String representation of the value must match the given regex.- Specified by:
mustMatchin interfaceComparisonRuleBuilder.ChooseMatcher- Parameters:
regex- The regex.- Returns:
- DSL object for specifying further rules.
-
mustMatch
ComparisonRuleBuilder mustMatch(Predicate<? super Object> predicate)
Deprecated, for removal: This API element is subject to removal in a future version.The value must match the given predicate.- Specified by:
mustMatchin interfaceComparisonRuleBuilder.ChooseMatcher- Parameters:
predicate- The predicate.- Returns:
- DSL object for specifying further rules.
-
-