public class CallbackReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.jandex.AnnotationInstance> |
getCallbackAnnotations(org.jboss.jandex.AnnotationTarget target) |
static String |
getCallbackName(org.jboss.jandex.AnnotationInstance annotation) |
static org.eclipse.microprofile.openapi.models.callbacks.Callback |
readCallback(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance annotation) |
static org.eclipse.microprofile.openapi.models.callbacks.Callback |
readCallback(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance annotation,
org.jboss.jandex.MethodInfo methodInfo)
Reads a Callback annotation into a model.
|
static Map<String,org.eclipse.microprofile.openapi.models.callbacks.Callback> |
readCallbacks(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue)
Reads a map of Callback annotations.
|
static Map<String,org.eclipse.microprofile.openapi.models.callbacks.Callback> |
readCallbacks(com.fasterxml.jackson.databind.JsonNode node)
Reads the
Callback OpenAPI nodes. |
public static Map<String,org.eclipse.microprofile.openapi.models.callbacks.Callback> readCallbacks(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
context - the scanner contextannotationValue - Map of @Callback annotationspublic static Map<String,org.eclipse.microprofile.openapi.models.callbacks.Callback> readCallbacks(com.fasterxml.jackson.databind.JsonNode node)
Callback OpenAPI nodes.node - the json nodepublic static org.eclipse.microprofile.openapi.models.callbacks.Callback readCallback(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation)
public static org.eclipse.microprofile.openapi.models.callbacks.Callback readCallback(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation, org.jboss.jandex.MethodInfo methodInfo)
annotation - the @Callback annotationcontext - the scanner contextmethodInfo - the methodpublic static List<org.jboss.jandex.AnnotationInstance> getCallbackAnnotations(org.jboss.jandex.AnnotationTarget target)
public static String getCallbackName(org.jboss.jandex.AnnotationInstance annotation)
Copyright © 2018–2021. All rights reserved.