public class GremlinGroovyAnnotationHandler extends Object implements AnnotationHandler<GremlinGroovy>, MethodHandler<GremlinGroovy>
| Constructor and Description |
|---|
GremlinGroovyAnnotationHandler() |
| Modifier and Type | Method and Description |
|---|---|
Class<GremlinGroovy> |
getAnnotationType() |
com.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine |
getGremlinScriptEngine() |
Object |
processElement(GremlinGroovy annotation,
Method method,
Object[] arguments,
FramedGraph framedGraph,
com.tinkerpop.blueprints.Element element,
com.tinkerpop.blueprints.Direction direction) |
Object |
processElement(Object framedElement,
Method method,
Object[] arguments,
GremlinGroovy annotation,
FramedGraph<?> framedGraph,
com.tinkerpop.blueprints.Element element) |
Object |
processVertex(GremlinGroovy annotation,
Method method,
Object[] arguments,
FramedGraph framedGraph,
com.tinkerpop.blueprints.Vertex vertex) |
public com.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine getGremlinScriptEngine()
public Class<GremlinGroovy> getAnnotationType()
getAnnotationType in interface AnnotationHandler<GremlinGroovy>getAnnotationType in interface MethodHandler<GremlinGroovy>public Object processElement(GremlinGroovy annotation, Method method, Object[] arguments, FramedGraph framedGraph, com.tinkerpop.blueprints.Element element, com.tinkerpop.blueprints.Direction direction)
processElement in interface AnnotationHandler<GremlinGroovy>annotation - The annotationmethod - The method being called on the frame.arguments - The arguments to the method.framedGraph - The graph being called.element - The underlying element.direction - The direction of the edge.public Object processVertex(GremlinGroovy annotation, Method method, Object[] arguments, FramedGraph framedGraph, com.tinkerpop.blueprints.Vertex vertex)
public Object processElement(Object framedElement, Method method, Object[] arguments, GremlinGroovy annotation, FramedGraph<?> framedGraph, com.tinkerpop.blueprints.Element element)
processElement in interface MethodHandler<GremlinGroovy>framedElement - The frame upon which the method is being called.method - The method being called on the frame.arguments - The arguments to the method.annotation - The annotationframedGraph - The graph being called.element - The underlying element.Copyright © 2011–2017 JBoss by Red Hat. All rights reserved.