public static final class ImportGremlinPlugin.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ImportGremlinPlugin.Builder |
appliesTo(Collection<String> scriptEngineName)
The name of the
GremlinScriptEngine that this module will apply to. |
ImportGremlinPlugin.Builder |
classImports(Class<?>... classes) |
ImportGremlinPlugin.Builder |
classImports(Collection<String> classes) |
ImportGremlinPlugin |
create() |
ImportGremlinPlugin.Builder |
enumImports(Collection<String> enums) |
ImportGremlinPlugin.Builder |
enumImports(Enum... enums) |
ImportGremlinPlugin.Builder |
methodImports(Collection<String> methods) |
ImportGremlinPlugin.Builder |
methodImports(Method... methods) |
public ImportGremlinPlugin.Builder appliesTo(Collection<String> scriptEngineName)
GremlinScriptEngine
that this module will apply to. Setting no values here will
make the module available to all the engines.public ImportGremlinPlugin.Builder classImports(Class<?>... classes)
public ImportGremlinPlugin.Builder classImports(Collection<String> classes)
public ImportGremlinPlugin.Builder methodImports(Collection<String> methods)
public ImportGremlinPlugin.Builder methodImports(Method... methods)
public ImportGremlinPlugin.Builder enumImports(Collection<String> enums)
public ImportGremlinPlugin.Builder enumImports(Enum... enums)
public ImportGremlinPlugin create()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.