public static final class GroovyCompilerGremlinPlugin.Builder extends Object
Constructor and Description |
---|
Builder() |
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) |
public GroovyCompilerGremlinPlugin.Builder expectedCompilationTime(int timeInMillis)
public GroovyCompilerGremlinPlugin.Builder enableInterpreterMode(boolean interpreterMode)
public GroovyCompilerGremlinPlugin.Builder compilerConfigurationOptions(Map<String,Object> keyValues)
public GroovyCompilerGremlinPlugin.Builder enableThreadInterrupt(boolean threadInterrupt)
public GroovyCompilerGremlinPlugin.Builder timedInterrupt(long timeInMillis)
public GroovyCompilerGremlinPlugin.Builder compilation(GroovyCompilerGremlinPlugin.Compilation compilation)
public GroovyCompilerGremlinPlugin.Builder compilation(String compilation)
public GroovyCompilerGremlinPlugin.Builder extensions(String extensions)
public GroovyCompilerGremlinPlugin create()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.