public class CompilerOptions
extends java.lang.Object
Constructor and Description |
---|
CompilerOptions() |
Modifier and Type | Method and Description |
---|---|
AccessModifierContextOption |
getAccessModifierContext()
Returns the callback that determines the access modifier of a given context.
|
AccessModifierEventTypeOption |
getAccessModifierEventType()
Returns the callback that determines the access modifier of a given event type
|
AccessModifierExpressionOption |
getAccessModifierExpression()
Returns the callback that determines the access modifier of a given declared expression.
|
AccessModifierInlinedClassOption |
getAccessModifierInlinedClass()
Returns the callback that determines the access modifier of a given inlined-class.
|
AccessModifierNamedWindowOption |
getAccessModifierNamedWindow()
Returns the callback that determines the access modifier of a given named window.
|
AccessModifierScriptOption |
getAccessModifierScript()
Returns the callback that determines the access modifier of a given script.
|
AccessModifierTableOption |
getAccessModifierTable()
Returns the callback that determines the access modifier of a given declared expression.
|
AccessModifierVariableOption |
getAccessModifierVariable()
Returns the callback that determines the access modifier of a given variable.
|
BusModifierEventTypeOption |
getBusModifierEventType()
Returns the callback that determines whether the event type is visible in the event bus i.e.
|
CompilerHookOption |
getCompilerHook()
Experimental API: Returns the provider of the compiler to use
|
InlinedClassInspectionOption |
getInlinedClassInspection()
Returns the classback for inlined-class compilation wherein the callback receives class output
|
ModuleNameOption |
getModuleName()
Returns the callback that determines the module name.
|
ModuleUsesOption |
getModuleUses()
Returns the callback that determines the module uses.
|
CompilerPathCache |
getPathCache()
Returns a cache, or null if not using a cache, that retains for each
EPCompiled the EPL objects that the EPCompiled provides. |
StatementNameOption |
getStatementName()
Returns the callback that determines the statement name
|
StatementUserObjectOption |
getStatementUserObject()
Returns the callback that determines a compiler-time statement user object for a
statement.
|
StateMgmtSettingOption |
getStateMgmtSetting()
For internal-use-only and subject-to-change-between-versions, state-management settings
|
CompilerOptions |
setAccessModifierContext(AccessModifierContextOption accessModifierContext)
Sets the callback that determines the access modifier of a given context.
|
CompilerOptions |
setAccessModifierEventType(AccessModifierEventTypeOption accessModifierEventType)
Sets the callback that determines the access modifier of a given event type.
|
CompilerOptions |
setAccessModifierExpression(AccessModifierExpressionOption accessModifierExpression)
Sets the callback that determines the access modifier of a given declared expression.
|
CompilerOptions |
setAccessModifierInlinedClass(AccessModifierInlinedClassOption accessModifierInlinedClass)
Sets the callback that determines the access modifier of a given inlined-class.
|
CompilerOptions |
setAccessModifierNamedWindow(AccessModifierNamedWindowOption accessModifierNamedWindow)
Sets the callback that determines the access modifier of a given named window.
|
CompilerOptions |
setAccessModifierScript(AccessModifierScriptOption accessModifierScript)
Sets the callback that determines the access modifier of a given script.
|
CompilerOptions |
setAccessModifierTable(AccessModifierTableOption accessModifierTable)
Returns the callback that determines the access modifier of a given table.
|
CompilerOptions |
setAccessModifierVariable(AccessModifierVariableOption accessModifierVariable)
Sets the callback that determines the access modifier of a given variable.
|
CompilerOptions |
setBusModifierEventType(BusModifierEventTypeOption busModifierEventType)
Sets the callback that determines whether the event type is visible in the event bus i.e.
|
void |
setCompilerHook(CompilerHookOption compilerHook)
Experimental API: Sets the provider of the compiler to use
|
void |
setInlinedClassInspection(InlinedClassInspectionOption inlinedClassInspection)
Sets the classback for inlined-class compilation wherein the callback receives class output
|
CompilerOptions |
setModuleName(ModuleNameOption moduleName)
Sets the callback that determines the module name.
|
CompilerOptions |
setModuleUses(ModuleUsesOption moduleUses)
Sets the callback that determines the module uses.
|
void |
setPathCache(CompilerPathCache pathCache)
Sets the cache, or null if not using a cache, that retains for each
EPCompiled the EPL objects that the EPCompiled provides. |
CompilerOptions |
setStatementName(StatementNameOption statementName)
Sets the callback that determines the statement name
|
CompilerOptions |
setStatementUserObject(StatementUserObjectOption statementUserObject)
Sets the callback that determines a compiler-time statement user object for a
statement.
|
void |
setStateMgmtSetting(StateMgmtSettingOption stateMgmtSetting)
For internal-use-only and subject-to-change-between-versions, state-management settings
|
public AccessModifierEventTypeOption getAccessModifierEventType()
public CompilerOptions setAccessModifierEventType(AccessModifierEventTypeOption accessModifierEventType)
accessModifierEventType
- callback returning an access modifier for an event typepublic StatementUserObjectOption getStatementUserObject()
getUserObjectCompileTime
.public CompilerOptions setStatementUserObject(StatementUserObjectOption statementUserObject)
getUserObjectCompileTime
.statementUserObject
- callback to set a compile-time statement user objectpublic CompilerOptions setBusModifierEventType(BusModifierEventTypeOption busModifierEventType)
busModifierEventType
- callback to set the event type bus modifier valuepublic BusModifierEventTypeOption getBusModifierEventType()
public AccessModifierContextOption getAccessModifierContext()
public CompilerOptions setAccessModifierContext(AccessModifierContextOption accessModifierContext)
accessModifierContext
- callback returning an access modifier for a contextpublic AccessModifierVariableOption getAccessModifierVariable()
public CompilerOptions setAccessModifierVariable(AccessModifierVariableOption accessModifierVariable)
accessModifierVariable
- callback returning an access modifier for a variablepublic AccessModifierInlinedClassOption getAccessModifierInlinedClass()
public CompilerOptions setAccessModifierInlinedClass(AccessModifierInlinedClassOption accessModifierInlinedClass)
accessModifierInlinedClass
- callback returning an access modifier for an inlined-classpublic AccessModifierExpressionOption getAccessModifierExpression()
public CompilerOptions setAccessModifierExpression(AccessModifierExpressionOption accessModifierExpression)
accessModifierExpression
- callback returning an access modifier for a declared expressionpublic AccessModifierTableOption getAccessModifierTable()
public CompilerOptions setAccessModifierTable(AccessModifierTableOption accessModifierTable)
accessModifierTable
- callback returning an access modifier for a tablepublic StatementNameOption getStatementName()
public CompilerOptions setStatementName(StatementNameOption statementName)
statementName
- callback returning the statement namepublic AccessModifierNamedWindowOption getAccessModifierNamedWindow()
public CompilerOptions setAccessModifierNamedWindow(AccessModifierNamedWindowOption accessModifierNamedWindow)
accessModifierNamedWindow
- callback returning an access modifier for an named windowpublic AccessModifierScriptOption getAccessModifierScript()
public CompilerOptions setAccessModifierScript(AccessModifierScriptOption accessModifierScript)
accessModifierScript
- callback returning an access modifier for a scriptpublic ModuleNameOption getModuleName()
public CompilerOptions setModuleName(ModuleNameOption moduleName)
moduleName
- callback returning the module name to usepublic ModuleUsesOption getModuleUses()
public CompilerOptions setModuleUses(ModuleUsesOption moduleUses)
moduleUses
- callback returning the module usespublic InlinedClassInspectionOption getInlinedClassInspection()
public void setInlinedClassInspection(InlinedClassInspectionOption inlinedClassInspection)
inlinedClassInspection
- callbackpublic StateMgmtSettingOption getStateMgmtSetting()
public void setStateMgmtSetting(StateMgmtSettingOption stateMgmtSetting)
stateMgmtSetting
- settings optionpublic CompilerPathCache getPathCache()
EPCompiled
the EPL objects that the EPCompiled
provides.public void setPathCache(CompilerPathCache pathCache)
EPCompiled
the EPL objects that the EPCompiled
provides.pathCache
- or null if not using a cachepublic CompilerHookOption getCompilerHook()
NOTE: Experimental API and not supported
public void setCompilerHook(CompilerHookOption compilerHook)
NOTE: Experimental API and not supported
Experimental - Not Supported - Set the JDK compiler like this:
compilerHook = new CompilerHookOption() { public CompilerAbstraction getValue(CompilerHookContext env) { return new CompilerAbstractionToolProvider(ToolProvider.getSystemJavaCompiler()); } };
compilerHook
- provider of the compiler to that replaces the default Janino-based compiler