org.apache.tinkerpop.gremlin.jsr223.console

## Interface GremlinShellEnvironment

-     public interface GremlinShellEnvironment

  Provides an abstraction over a "Gremlin Shell" (i.e. the core of a console), enabling the plugin to not have to be hardcoded specifically to any particular shell, like the Gremlin Groovy Console, and thus allowing it to not have to depend on the gremlin-groovy module itself.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `errPrintln(String line)`
    `<T> T` | `execute(String line)`
    `<T> T` | `getVariable(String variableName)`
    `void` | `println(String line)`
    `<T> void` | `setVariable(String variableName, T variableValue)`

- - ### Method Detail

    - #### getVariable

          <T> T getVariable(String variableName)

    - #### setVariable

          <T> void setVariable(String variableName,
                               T variableValue)

    - #### println

          void println(String line)

    - #### errPrintln

          default void errPrintln(String line)

    - #### execute

          <T> T execute(String line)

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.