public final class TinkerGraphGremlinPlugin extends AbstractGremlinPlugin
DOT_STAR, ENV_CONSOLE_IO, ENV_CONSOLE_SHELL, IMPORT_SPACE, IMPORT_STATIC_SPACE, io, requireConsoleEnvironment, shellENVIRONMENT| Constructor and Description |
|---|
TinkerGraphGremlinPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPluginTo(PluginAcceptor pluginAcceptor)
Called after the
AbstractGremlinPlugin.pluginTo(PluginAcceptor) method is executed which sets the AbstractGremlinPlugin.io and
AbstractGremlinPlugin.shell member variables. |
String |
getName()
The name of the plugin.
|
void |
pluginTo(PluginAcceptor pluginAcceptor)
Implementers will typically execute imports of classes within their project that they want available in the
console or they may use meta programming to introduce new extensions to the Gremlin.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoteAcceptor, requireRestartpublic String getName()
GremlinPluginpublic void pluginTo(PluginAcceptor pluginAcceptor) throws PluginInitializationException, IllegalEnvironmentException
AbstractGremlinPluginAbstractGremlinPlugin.io and AbstractGremlinPlugin.shell member variables.pluginTo in interface GremlinPluginpluginTo in class AbstractGremlinPluginPluginInitializationException - if there is a failure in the plugin iniitalization processIllegalEnvironmentException - if AbstractGremlinPlugin.requireConsoleEnvironment is set to true and if either
the AbstractGremlinPlugin.io and AbstractGremlinPlugin.shell member variables are null.public void afterPluginTo(PluginAcceptor pluginAcceptor) throws IllegalEnvironmentException, PluginInitializationException
AbstractGremlinPluginAbstractGremlinPlugin.pluginTo(PluginAcceptor) method is executed which sets the AbstractGremlinPlugin.io and
AbstractGremlinPlugin.shell member variables.afterPluginTo in class AbstractGremlinPluginIllegalEnvironmentExceptionPluginInitializationExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.