| Modifiers | Name | Description |
|---|---|---|
static long |
DEFAULT_LATENCY_MS |
the default latency (1000ms = 1 second). |
| Type | Name and description |
|---|---|
ch.artecat.grengine.code.CompilerFactory |
compilerFactory |
long |
latencyMs |
ch.artecat.grengine.source.SourceFactory |
sourceFactory |
| Constructor and description |
|---|
JexlerContainerSources.Builder
(JexlerContainer container)constructor from container. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
JexlerContainerSources |
build()builds a new instance of ch.artecat.grengine.sources.DirBasedSources. |
|
ch.artecat.grengine.code.CompilerFactory |
getCompilerFactory()gets the compiler factory. |
|
JexlerContainer |
getContainer()gets the container. |
|
long |
getLatencyMs()gets the latency in milliseconds. |
|
ch.artecat.grengine.source.SourceFactory |
getSourceFactory()gets the source factory. |
|
JexlerContainerSources.Builder |
setCompilerFactory(ch.artecat.grengine.code.CompilerFactory compilerFactory)sets the compiler factory for compiling sources, default is a new instance of ch.artecat.grengine.code.groovy.DefaultGroovyCompilerFactory. |
|
JexlerContainerSources.Builder |
setLatencyMs(long latencyMs)sets the latency in milliseconds for checking if script files in the directory have changed, default is DEFAULT_LATENCY_MS. |
|
JexlerContainerSources.Builder |
setSourceFactory(ch.artecat.grengine.source.SourceFactory sourceFactory)sets the source factory for creating sources from files, default is a new instance of ch.artecat.grengine.source.DefaultSourceFactory. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
constructor from container.
builds a new instance of ch.artecat.grengine.sources.DirBasedSources.
gets the compiler factory.
gets the container.
gets the latency in milliseconds.
gets the source factory.
sets the compiler factory for compiling sources, default is a new instance of ch.artecat.grengine.code.groovy.DefaultGroovyCompilerFactory.
sets the latency in milliseconds for checking if script files in the directory have changed, default is DEFAULT_LATENCY_MS.
sets the source factory for creating sources from files, default is a new instance of ch.artecat.grengine.source.DefaultSourceFactory.
Groovy Documentation