public class CompilerContextImpl extends Object implements CompilerContext
| Constructor and Description |
|---|
CompilerContextImpl(FEELEventListenersManager eventsManager)
PLEASE NOTICE: it is recommended to instance the CompilerContext via the FEEL instance, so to have all profile configuration applied correctly.
|
| Modifier and Type | Method and Description |
|---|---|
CompilerContextImpl |
addFEELFunctions(Collection<FEELFunction> customFunction) |
CompilerContext |
addInputVariable(String name,
Object value) |
CompilerContext |
addInputVariableType(String name,
Type type) |
FEELTypeRegistry |
getFEELFeelTypeRegistry() |
Collection<FEELFunction> |
getFEELFunctions() |
Map<String,Object> |
getInputVariables() |
Map<String,Type> |
getInputVariableTypes() |
Set<org.kie.dmn.api.feel.runtime.events.FEELEventListener> |
getListeners() |
boolean |
isDoCompile() |
void |
setDoCompile(boolean doCompile) |
void |
setFEELTypeRegistry(FEELTypeRegistry typeRegistry) |
public CompilerContextImpl(FEELEventListenersManager eventsManager)
public Set<org.kie.dmn.api.feel.runtime.events.FEELEventListener> getListeners()
getListeners in interface CompilerContextpublic CompilerContext addInputVariableType(String name, Type type)
addInputVariableType in interface CompilerContextpublic Map<String,Type> getInputVariableTypes()
getInputVariableTypes in interface CompilerContextpublic CompilerContext addInputVariable(String name, Object value)
addInputVariable in interface CompilerContextpublic Map<String,Object> getInputVariables()
getInputVariables in interface CompilerContextpublic CompilerContextImpl addFEELFunctions(Collection<FEELFunction> customFunction)
addFEELFunctions in interface CompilerContextpublic Collection<FEELFunction> getFEELFunctions()
getFEELFunctions in interface CompilerContextpublic boolean isDoCompile()
isDoCompile in interface CompilerContextpublic void setDoCompile(boolean doCompile)
setDoCompile in interface CompilerContextpublic void setFEELTypeRegistry(FEELTypeRegistry typeRegistry)
setFEELTypeRegistry in interface CompilerContextpublic FEELTypeRegistry getFEELFeelTypeRegistry()
getFEELFeelTypeRegistry in interface CompilerContextCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.