public class UpdateEntityMethod extends AbstractPatternBasedMethod implements MethodCandidate
CrudRepository.update(Object).| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
METHOD_PATTERN |
patternDEFAULT_POSITION| Constructor and Description |
|---|
UpdateEntityMethod()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MethodMatchInfo |
buildMatchInfo(MethodMatchContext matchContext)
Builds the method info.
|
protected MethodMatchInfo.OperationType |
getOperationType() |
int |
getOrder() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
applyForUpdate, applyJoinSpecs, applyOrderBy, buildInfo, buildRawQuery, getInterceptorElement, getInterceptorElement, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorType@NonNull protected MethodMatchInfo.OperationType getOperationType()
getOperationType in class AbstractPatternBasedMethodpublic int getOrder()
getOrder in interface io.micronaut.core.order.OrderedgetOrder in interface MethodCandidatepublic boolean isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
MethodCandidateisMethodMatch in interface MethodCandidateisMethodMatch in class AbstractPatternBasedMethodmethodElement - The method element. Never null.matchContext - The match context. Never null.@Nullable public MethodMatchInfo buildMatchInfo(@NonNull MethodMatchContext matchContext)
MethodCandidateMethodCandidate.isMethodMatch(MethodElement, MatchContext) should be
invoked and checked prior to calling this method.buildMatchInfo in interface MethodCandidatematchContext - The match contextMethodMatchContext