public class CompilerContextImpl extends Object implements CompilerContext
Constructor and Description |
---|
CompilerContextImpl(FEELEventListenersManager eventsManager) |
Modifier and Type | Method and Description |
---|---|
CompilerContextImpl |
addFEELFunctions(Collection<FEELFunction> customFunction) |
CompilerContext |
addInputVariable(String name,
Object value) |
CompilerContext |
addInputVariableType(String name,
Type type) |
Collection<FEELFunction> |
getFEELFunctions() |
Map<String,Object> |
getInputVariables() |
Map<String,Type> |
getInputVariableTypes() |
Set<org.kie.dmn.api.feel.runtime.events.FEELEventListener> |
getListeners() |
public CompilerContextImpl(FEELEventListenersManager eventsManager)
public Set<org.kie.dmn.api.feel.runtime.events.FEELEventListener> getListeners()
getListeners
in interface CompilerContext
public CompilerContext addInputVariableType(String name, Type type)
addInputVariableType
in interface CompilerContext
public Map<String,Type> getInputVariableTypes()
getInputVariableTypes
in interface CompilerContext
public CompilerContext addInputVariable(String name, Object value)
addInputVariable
in interface CompilerContext
public Map<String,Object> getInputVariables()
getInputVariables
in interface CompilerContext
public CompilerContextImpl addFEELFunctions(Collection<FEELFunction> customFunction)
addFEELFunctions
in interface CompilerContext
public Collection<FEELFunction> getFEELFunctions()
getFEELFunctions
in interface CompilerContext
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.