public final class TinkerGraphGremlinPlugin extends AbstractGremlinPlugin
DOT_STAR, ENV_CONSOLE_IO, ENV_CONSOLE_SHELL, IMPORT_SPACE, IMPORT_STATIC_SPACE, io, requireConsoleEnvironment, shell
ENVIRONMENT
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, wait
remoteAcceptor, requireRestart
public String getName()
GremlinPlugin
public void pluginTo(PluginAcceptor pluginAcceptor) throws PluginInitializationException, IllegalEnvironmentException
AbstractGremlinPlugin
AbstractGremlinPlugin.io
and AbstractGremlinPlugin.shell
member variables.pluginTo
in interface GremlinPlugin
pluginTo
in class AbstractGremlinPlugin
PluginInitializationException
- 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
AbstractGremlinPlugin
AbstractGremlinPlugin.pluginTo(PluginAcceptor)
method is executed which sets the AbstractGremlinPlugin.io
and
AbstractGremlinPlugin.shell
member variables.afterPluginTo
in class AbstractGremlinPlugin
IllegalEnvironmentException
PluginInitializationException
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.