Class FindAllSpecificationMethodMatcher
- java.lang.Object
-
- io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
-
- io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
-
- io.micronaut.data.processor.visitors.finders.spec.FindAllSpecificationMethodMatcher
-
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,MethodMatcher
@Internal public class FindAllSpecificationMethodMatcher extends AbstractSpecificationMethodMatcher
Find all specification method.- Since:
- 1.0
- Author:
- graemerocher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
MethodMatcher.MethodMatch
-
-
Field Summary
-
Fields inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
pattern
-
Fields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITION
-
-
Constructor Summary
Constructors Constructor Description FindAllSpecificationMethodMatcher()Find one method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()protected booleanisMatchesParameters(MethodMatchContext matchContext)Is matches parameters.protected MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext, java.util.regex.Matcher matcher)Handle the match.-
Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
getInterceptorElement, isFirstParameterMicronautDataDeleteSpecification, isFirstParameterMicronautDataQuerySpecification, isFirstParameterMicronautDataUpdateSpecification, isFirstParameterMicronautJpaSpecification, isFirstParameterSpringJpaSpecification, match
-
-
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceMethodMatcher- Specified by:
getOrderin interfaceio.micronaut.core.order.Ordered- Overrides:
getOrderin classAbstractSpecificationMethodMatcher
-
match
protected MethodMatcher.MethodMatch match(MethodMatchContext matchContext, java.util.regex.Matcher matcher)
Description copied from class:AbstractPrefixPatternMethodMatcherHandle the match.- Specified by:
matchin classAbstractPrefixPatternMethodMatcher- Parameters:
matchContext- The match contextmatcher- The matcher- Returns:
- The method matcher
-
isMatchesParameters
protected boolean isMatchesParameters(MethodMatchContext matchContext)
Description copied from class:AbstractSpecificationMethodMatcherIs matches parameters.- Overrides:
isMatchesParametersin classAbstractSpecificationMethodMatcher- Parameters:
matchContext- The context- Returns:
- true if matches
-
-