org.apache.tinkerpop.gremlin.groovy.jsr223

## Class GroovyCompilerGremlinPlugin.Builder

- java.lang.Object
- - org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyCompilerGremlinPlugin.Builder

- Enclosing class:
    GroovyCompilerGremlinPlugin

      public static final class GroovyCompilerGremlinPlugin.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `GroovyCompilerGremlinPlugin.Builder` | `compilation(GroovyCompilerGremlinPlugin.Compilation compilation)`
    `GroovyCompilerGremlinPlugin.Builder` | `compilation(String compilation)`
    `GroovyCompilerGremlinPlugin.Builder` | `compilerConfigurationOptions(Map<String,Object> keyValues)`
    `GroovyCompilerGremlinPlugin` | `create()`
    `GroovyCompilerGremlinPlugin.Builder` | `enableInterpreterMode(boolean interpreterMode)`
    `GroovyCompilerGremlinPlugin.Builder` | `enableThreadInterrupt(boolean threadInterrupt)`
    `GroovyCompilerGremlinPlugin.Builder` | `expectedCompilationTime(int timeInMillis)` If the time it takes to compile a script exceeds the specified time then a warning is written to the logs.
    `GroovyCompilerGremlinPlugin.Builder` | `extensions(String extensions)`
    `GroovyCompilerGremlinPlugin.Builder` | `timedInterrupt(long timeInMillis)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### expectedCompilationTime

          public GroovyCompilerGremlinPlugin.Builder expectedCompilationTime(int timeInMillis)

      If the time it takes to compile a script exceeds the specified time then a warning is written to the logs. Defaults to 5000ms.

    - #### enableInterpreterMode

          public GroovyCompilerGremlinPlugin.Builder enableInterpreterMode(boolean interpreterMode)

    - #### compilerConfigurationOptions

          public GroovyCompilerGremlinPlugin.Builder compilerConfigurationOptions(Map<String,Object> keyValues)

    - #### enableThreadInterrupt

          public GroovyCompilerGremlinPlugin.Builder enableThreadInterrupt(boolean threadInterrupt)

    - #### timedInterrupt

          public GroovyCompilerGremlinPlugin.Builder timedInterrupt(long timeInMillis)

    - #### compilation

          public GroovyCompilerGremlinPlugin.Builder compilation(GroovyCompilerGremlinPlugin.Compilation compilation)

    - #### compilation

          public GroovyCompilerGremlinPlugin.Builder compilation(String compilation)

    - #### extensions

          public GroovyCompilerGremlinPlugin.Builder extensions(String extensions)

    - #### create

          public GroovyCompilerGremlinPlugin create()

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