Class AbstractSpecificationMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
io.micronaut.data.processor.visitors.finders.AbstractSpecificationMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,MethodMatcher
- Direct Known Subclasses:
CountSpecificationMethodMatcher,DeleteAllSpecificationMethodMatcher,DeleteSpecificationMethodMatcher,ExistsSpecificationMethodMatcher,FindAllSpecificationMethodMatcher,FindOneSpecificationMethodMatcher,FindPageSpecificationMethodMatcher,UpdateAllSpecificationMethodMatcher
Abstract superclass for specification methods.
- Since:
- 3.1
- Author:
- Denis Stepanov
-
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
patternFields 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
ConstructorsModifierConstructorDescriptionprotectedAbstractSpecificationMethodMatcher(String... prefixes) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()protected final booleanisDeleteSpecification(@NonNull MethodMatchContext methodMatchContext) protected final booleanisQuerySpecification(@NonNull MethodMatchContext methodMatchContext) protected final booleanisUpdateSpecification(@NonNull MethodMatchContext methodMatchContext) Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
match, match
-
Constructor Details
-
AbstractSpecificationMethodMatcher
Default constructor.- Parameters:
prefixes- The method prefixes to match
-
-
Method Details
-
getOrder
public int getOrder() -
isQuerySpecification
protected final boolean isQuerySpecification(@NonNull @NonNull MethodMatchContext methodMatchContext) -
isDeleteSpecification
protected final boolean isDeleteSpecification(@NonNull @NonNull MethodMatchContext methodMatchContext) -
isUpdateSpecification
protected final boolean isUpdateSpecification(@NonNull @NonNull MethodMatchContext methodMatchContext)
-