Class FindOneSpecificationMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
io.micronaut.data.processor.visitors.finders.spec.FindOneSpecificationMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,MethodMatcher
JPA specification findOne.
- 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
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isMatchesParameters
(MethodMatchContext matchContext) Is matches parameters.protected MethodMatcher.MethodMatch
match
(MethodMatchContext matchContext, Matcher matcher) Handle the match.Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
getInterceptorElement, getOrder, isFirstParameterMicronautDataDeleteSpecification, isFirstParameterMicronautDataQuerySpecification, isFirstParameterMicronautDataUpdateSpecification, isFirstParameterMicronautJpaSpecification, isFirstParameterSpringJpaSpecification, match
-
Constructor Details
-
FindOneSpecificationMethodMatcher
public FindOneSpecificationMethodMatcher()Find one method.
-
-
Method Details
-
match
Description copied from class:AbstractPrefixPatternMethodMatcher
Handle the match.- Specified by:
match
in classAbstractPrefixPatternMethodMatcher
- Parameters:
matchContext
- The match contextmatcher
- The matcher- Returns:
- The method matcher
-
isMatchesParameters
Description copied from class:AbstractSpecificationMethodMatcher
Is matches parameters.- Overrides:
isMatchesParameters
in classAbstractSpecificationMethodMatcher
- Parameters:
matchContext
- The context- Returns:
- true if matches
-