Class SaveOneMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
io.micronaut.data.processor.visitors.finders.SaveOneMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,MethodMatcher
A save method for saving a single entity.
- Since:
- 1.0.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
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetOrder()protected MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext, Matcher matcher) Handle the match.Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractPrefixPatternMethodMatcher
match
-
Constructor Details
-
SaveOneMethodMatcher
public SaveOneMethodMatcher()Default constructor.
-
-
Method Details
-
getOrder
public final int getOrder() -
match
Description copied from class:AbstractPrefixPatternMethodMatcherHandle the match.- Specified by:
matchin classAbstractPrefixPatternMethodMatcher- Parameters:
matchContext- The match contextmatcher- The matcher- Returns:
- The method matcher
-