Class AbstractPrefixPatternMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,MethodMatcher
- Direct Known Subclasses:
AbstractSpecificationMethodMatcher
The matcher based on a simple patter.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
MethodMatcher.MethodMatch -
Field Summary
FieldsFields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPrefixPatternMethodMatcher(@NonNull List<String> prefixes) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MethodMatcher.MethodMatchdoMatch(MethodMatchContext matchContext) Handle the match.match(MethodMatchContext matchContext) protected booleanmatches(MethodMatchContext matchContext) Check if matches.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
getOrder
-
Field Details
-
pattern
-
-
Constructor Details
-
AbstractPrefixPatternMethodMatcher
-
-
Method Details
-
match
- Specified by:
matchin interfaceMethodMatcher
-
matches
Check if matches.- Parameters:
matchContext- The context- Returns:
- true if matches
-
doMatch
Handle the match.- Parameters:
matchContext- The match context- Returns:
- The method matcher
-