Class ReadOperationAnnotationMapper
java.lang.Object
io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
io.micronaut.spring.boot.annotation.ReadOperationAnnotationMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationMapper<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationMapper
- Direct Known Subclasses:
DeleteOperationAnnotationMapper
,WriteOperationAnnotationMapper
Maps Actuator ReadOperation to Micronaut Read.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected List<io.micronaut.core.annotation.AnnotationValue<?>>
mapInternal
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Internal map implemenation that subclasses should implement.protected @NonNull String
The operation name.Methods inherited from class io.micronaut.spring.annotation.AbstractSpringAnnotationMapper
map
-
Constructor Details
-
ReadOperationAnnotationMapper
public ReadOperationAnnotationMapper()
-
-
Method Details
-
mapInternal
protected List<io.micronaut.core.annotation.AnnotationValue<?>> mapInternal(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Description copied from class:AbstractSpringAnnotationMapper
Internal map implemenation that subclasses should implement.- Specified by:
mapInternal
in classAbstractSpringAnnotationMapper
- Parameters:
annotation
- The annotationvisitorContext
- The visitor context- Returns:
- A list of annotations
-
getName
-
operationName
The operation name.- Returns:
- The operation name
-