public class ServiceAnnotationProcessor extends AbstractAnnotationProcessor
Constructor and Description |
---|
ServiceAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
processAnnotation(org.ballerinalang.model.tree.ServiceNode serviceNode,
org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode)
Process annotations and create model object.
|
void |
processAnnotation(org.ballerinalang.model.tree.SimpleVariableNode variableNode,
org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode)
Process annotations and create model object.
|
processAnnotation
public void processAnnotation(org.ballerinalang.model.tree.ServiceNode serviceNode, org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode) throws KubernetesPluginException
AnnotationProcessor
processAnnotation
in interface AnnotationProcessor
processAnnotation
in class AbstractAnnotationProcessor
serviceNode
- Ballerina service node.attachmentNode
- annotation attachment node.KubernetesPluginException
- if an error occurs while processing annotation.public void processAnnotation(org.ballerinalang.model.tree.SimpleVariableNode variableNode, org.ballerinalang.model.tree.AnnotationAttachmentNode attachmentNode) throws KubernetesPluginException
AnnotationProcessor
processAnnotation
in interface AnnotationProcessor
processAnnotation
in class AbstractAnnotationProcessor
variableNode
- Ballerina listener variable.attachmentNode
- annotation attachment node.KubernetesPluginException
- if an error occurs while processing annotation.Copyright © 2019 WSO2. All rights reserved.