public class EvaluationContextImpl extends Object implements EvaluationContext
| Constructor and Description |
|---|
EvaluationContextImpl(ClassLoader cl,
FEELEventListenersManager eventsManager) |
EvaluationContextImpl(FEELEventListenersManager eventsManager,
org.kie.dmn.api.core.DMNRuntime dmnRuntime) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationContext |
current() |
void |
enterFrame() |
void |
exitFrame() |
Map<String,Object> |
getAllValues() |
org.kie.dmn.api.core.DMNRuntime |
getDMNRuntime() |
Collection<org.kie.dmn.api.feel.runtime.events.FEELEventListener> |
getListeners() |
ClassLoader |
getRootClassLoader() |
Object |
getRootObject() |
Deque<ExecutionFrame> |
getStack() |
Object |
getValue(String name) |
Object |
getValue(String[] name) |
boolean |
isDefined(String name) |
boolean |
isDefined(String[] name) |
boolean |
isPerformRuntimeTypeCheck() |
void |
notifyEvt(Supplier<org.kie.dmn.api.feel.runtime.events.FEELEvent> event) |
ExecutionFrame |
peek() |
ExecutionFrame |
pop() |
void |
push(ExecutionFrame obj) |
void |
setPerformRuntimeTypeCheck(boolean performRuntimeTypeCheck) |
void |
setRootObject(Object v) |
void |
setValue(String name,
Object value) |
void |
setValues(Map<String,Object> values) |
public EvaluationContextImpl(ClassLoader cl, FEELEventListenersManager eventsManager)
public EvaluationContextImpl(FEELEventListenersManager eventsManager, org.kie.dmn.api.core.DMNRuntime dmnRuntime)
public EvaluationContext current()
current in interface EvaluationContextpublic void push(ExecutionFrame obj)
public ExecutionFrame pop()
public ExecutionFrame peek()
public Deque<ExecutionFrame> getStack()
public void enterFrame()
enterFrame in interface EvaluationContextpublic void exitFrame()
exitFrame in interface EvaluationContextpublic void setValue(String name, Object value)
setValue in interface EvaluationContextpublic Object getValue(String name)
getValue in interface EvaluationContextpublic Object getValue(String[] name)
getValue in interface EvaluationContextpublic boolean isDefined(String name)
isDefined in interface EvaluationContextpublic boolean isDefined(String[] name)
isDefined in interface EvaluationContextpublic Map<String,Object> getAllValues()
getAllValues in interface EvaluationContextpublic void notifyEvt(Supplier<org.kie.dmn.api.feel.runtime.events.FEELEvent> event)
notifyEvt in interface EvaluationContextpublic Collection<org.kie.dmn.api.feel.runtime.events.FEELEventListener> getListeners()
getListeners in interface EvaluationContextpublic org.kie.dmn.api.core.DMNRuntime getDMNRuntime()
getDMNRuntime in interface EvaluationContextpublic ClassLoader getRootClassLoader()
getRootClassLoader in interface EvaluationContextpublic void setPerformRuntimeTypeCheck(boolean performRuntimeTypeCheck)
public boolean isPerformRuntimeTypeCheck()
public void setRootObject(Object v)
setRootObject in interface EvaluationContextpublic Object getRootObject()
getRootObject in interface EvaluationContextCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.