Class CompilerArguments
java.lang.Object
com.espertech.esper.compiler.client.CompilerArguments
Arguments holder for use with
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 Summary
ConstructorDescriptionEmpty constructor uses an emptyConfiguration
CompilerArguments
(Configuration configuration) Ctor.CompilerArguments
(EPCompilerPathable compilerPathable) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configurationReturns the compiler optionsgetPath()
Returns the path.setConfiguration
(Configuration configuration) Sets the configurationsetOptions
(CompilerOptions options) Sets the compiler options.setPath
(CompilerPath path) Sets the path
-
Constructor Details
-
CompilerArguments
public CompilerArguments()Empty constructor uses an emptyConfiguration
-
CompilerArguments
Ctor.- Parameters:
configuration
- the compiler configuration
-
CompilerArguments
Ctor.- Parameters:
compilerPathable
- a compiler pathable provide path information
-
-
Method Details
-
getPath
Returns the path.- Returns:
- path
-
setPath
Sets the path- Parameters:
path
- path- Returns:
- itself
-
getConfiguration
Returns the configuration- Returns:
- configuration
-
setConfiguration
Sets the configuration- Parameters:
configuration
- to set- Returns:
- itself
-
getOptions
Returns the compiler options- Returns:
- options
-
setOptions
Sets the compiler options.- Parameters:
options
- compiler options- Returns:
- itself
-