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. -
caseSensitive
Creates 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
. -
startsWith
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.STARTING
. -
exact
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.EXACT
. -
storeDefaultMatching
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.DEFAULT
. -
regex
Creates aExampleMatcher.GenericPropertyMatcher
that matches string usingExampleMatcher.StringMatcher.REGEX
.
-