GremlinPlugin@Deprecated public interface GremlinPlugin
ServiceLoader to install plugins.  It is necessary for
 projects to include a org.apache.tinkerpop.gremlin.groovy.plugin.GremlinPlugin file in
 META-INF/services of their packaged project which includes the full class names of the implementations
 of this interface to install.| Modifier and Type | Field and Description | 
|---|---|
| static String | ENVIRONMENTDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName()Deprecated.  The name of the plugin. | 
| void | pluginTo(PluginAcceptor pluginAcceptor)Deprecated.  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. | 
| default Optional<RemoteAcceptor> | remoteAcceptor()Deprecated.  Allows a plugin to utilize features of the  :remoteand:submitcommands of the Gremlin Console. | 
| default boolean | requireRestart()Deprecated.  Some plugins may require a restart of the plugin host for the classloader to pick up the features. | 
static final String ENVIRONMENT
String getName()
void pluginTo(PluginAcceptor pluginAcceptor) throws IllegalEnvironmentException, PluginInitializationException
IllegalEnvironmentException - if there are missing environment properties required by the plugin as
                                       provided from PluginAcceptor.environment().PluginInitializationException - if there is a failure in the plugin iniitalization processdefault boolean requireRestart()
Class.forName() to dynamically instantiate classes from the
 root classloader (e.g. JDBC drivers that instantiate via @{code DriverManager}).default Optional<RemoteAcceptor> remoteAcceptor()
:remote and :submit commands of the Gremlin Console.
 This method does not need to be implemented if the plugin is not meant for the Console for some reason or
 if it does not intend to take advantage of those commands.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.