public class CompilerArguments
extends java.lang.Object
EPCompiler.compile(java.lang.String, com.espertech.esper.compiler.client.CompilerArguments)
.
The compiler arguments always contain a configuration. When there is no configuration provided the compiler uses the default (empty) configuration.
The compiler path provides information on the EPL-objects that are visible at compilation time. Add compiled modules and path information from runtimes to the path for modules to gain access to existing EPL objects.
Compiler options are callbacks as well as optional values for the compiler.
Constructor and Description |
---|
CompilerArguments()
Empty constructor uses an empty
Configuration |
CompilerArguments(Configuration configuration)
Ctor.
|
CompilerArguments(EPCompilerPathable compilerPathable)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration()
Returns the configuration
|
CompilerOptions |
getOptions()
Returns the compiler options
|
CompilerPath |
getPath()
Returns the path.
|
CompilerArguments |
setConfiguration(Configuration configuration)
Sets the configuration
|
CompilerArguments |
setOptions(CompilerOptions options)
Sets the compiler options.
|
CompilerArguments |
setPath(CompilerPath path)
Sets the path
|
public CompilerArguments()
Configuration
public CompilerArguments(Configuration configuration)
configuration
- the compiler configurationpublic CompilerArguments(EPCompilerPathable compilerPathable)
compilerPathable
- a compiler pathable provide path informationpublic CompilerPath getPath()
public CompilerArguments setPath(CompilerPath path)
path
- pathpublic Configuration getConfiguration()
public CompilerArguments setConfiguration(Configuration configuration)
configuration
- to setpublic CompilerOptions getOptions()
public CompilerArguments setOptions(CompilerOptions options)
options
- compiler options