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
(com.espertech.esper.common.client.configuration.Configuration configuration) Ctor.CompilerArguments
(com.espertech.esper.common.client.EPCompilerPathable compilerPathable) Ctor. -
Method Summary
Modifier and TypeMethodDescriptioncom.espertech.esper.common.client.configuration.Configuration
Returns the configurationReturns the compiler optionsgetPath()
Returns the path.setConfiguration
(com.espertech.esper.common.client.configuration.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
public CompilerArguments(com.espertech.esper.common.client.configuration.Configuration configuration) Ctor.- Parameters:
configuration
- the compiler configuration
-
CompilerArguments
public CompilerArguments(com.espertech.esper.common.client.EPCompilerPathable compilerPathable) 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
public com.espertech.esper.common.client.configuration.Configuration getConfiguration()Returns the configuration- Returns:
- configuration
-
setConfiguration
public CompilerArguments setConfiguration(com.espertech.esper.common.client.configuration.Configuration configuration) 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
-