Package org.springframework.data.domain
Class ExampleMatcher.GenericPropertyMatchers
java.lang.Object
org.springframework.data.domain.ExampleMatcher.GenericPropertyMatchers
- Enclosing interface:
- ExampleMatcher
Predefined property matchers to create a
ExampleMatcher.GenericPropertyMatcher
.- Author:
- Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates aExampleMatcher.GenericPropertyMatcher
that matches string case-sensitive.contains()
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.CONTAINING
.endsWith()
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.ENDING
.exact()
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.EXACT
.Creates aExampleMatcher.GenericPropertyMatcher
that matches string case insensitive.regex()
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.REGEX
.Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.STARTING
.Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.DEFAULT
.
-
Constructor Details
-
GenericPropertyMatchers
public GenericPropertyMatchers()
-
-
Method Details
-
ignoreCase
Creates aExampleMatcher.GenericPropertyMatcher
that matches string case insensitive.- Returns:
-
caseSensitive
Creates aExampleMatcher.GenericPropertyMatcher
that matches string case-sensitive.- Returns:
-
contains
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.CONTAINING
.- Returns:
-
endsWith
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.ENDING
.- Returns:
-
startsWith
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.STARTING
.- Returns:
-
exact
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.EXACT
.- Returns:
-
storeDefaultMatching
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.DEFAULT
.- Returns:
-
regex
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.REGEX
.- Returns:
-