Class CompilerArguments

java.lang.Object
com.espertech.esper.compiler.client.CompilerArguments

public class CompilerArguments extends Object
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 Details

    • CompilerArguments

      public CompilerArguments()
      Empty constructor uses an empty Configuration
    • CompilerArguments

      public CompilerArguments(Configuration configuration)
      Ctor.
      Parameters:
      configuration - the compiler configuration
    • CompilerArguments

      public CompilerArguments(EPCompilerPathable compilerPathable)
      Ctor.
      Parameters:
      compilerPathable - a compiler pathable provide path information
  • Method Details

    • getPath

      public CompilerPath getPath()
      Returns the path.
      Returns:
      path
    • setPath

      public CompilerArguments setPath(CompilerPath path)
      Sets the path
      Parameters:
      path - path
      Returns:
      itself
    • getConfiguration

      public Configuration getConfiguration()
      Returns the configuration
      Returns:
      configuration
    • setConfiguration

      public CompilerArguments setConfiguration(Configuration configuration)
      Sets the configuration
      Parameters:
      configuration - to set
      Returns:
      itself
    • getOptions

      public CompilerOptions getOptions()
      Returns the compiler options
      Returns:
      options
    • setOptions

      public CompilerArguments setOptions(CompilerOptions options)
      Sets the compiler options.
      Parameters:
      options - compiler options
      Returns:
      itself