Package org.kie.dmn.feel.lang.impl
Class SilentWrappingEvaluationContextImpl
- java.lang.Object
-
- org.kie.dmn.feel.lang.impl.SilentWrappingEvaluationContextImpl
-
- All Implemented Interfaces:
EvaluationContext
public class SilentWrappingEvaluationContextImpl extends Object implements EvaluationContext
This EvaluationContext should only be used to "try" evaluations
-
-
Constructor Summary
Constructors Constructor Description SilentWrappingEvaluationContextImpl(EvaluationContext wrapped)This EvaluationContext should only be used to "try" evaluations
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationContextcurrent()voidenterFrame()voidexitFrame()Map<String,Object>getAllValues()org.kie.dmn.api.core.DMNRuntimegetDMNRuntime()Collection<org.kie.dmn.api.feel.runtime.events.FEELEventListener>getListeners()ClassLoadergetRootClassLoader()ObjectgetRootObject()ObjectgetValue(String name)ObjectgetValue(String[] name)booleanisDefined(String name)booleanisDefined(String[] name)voidnotifyEvt(Supplier<org.kie.dmn.api.feel.runtime.events.FEELEvent> event)voidsetRootObject(Object v)voidsetValue(String name, Object value)
-
-
-
Constructor Detail
-
SilentWrappingEvaluationContextImpl
public SilentWrappingEvaluationContextImpl(EvaluationContext wrapped)
This EvaluationContext should only be used to "try" evaluations
-
-
Method Detail
-
enterFrame
public void enterFrame()
- Specified by:
enterFramein interfaceEvaluationContext
-
exitFrame
public void exitFrame()
- Specified by:
exitFramein interfaceEvaluationContext
-
current
public EvaluationContext current()
- Specified by:
currentin interfaceEvaluationContext
-
setValue
public void setValue(String name, Object value)
- Specified by:
setValuein interfaceEvaluationContext
-
getValue
public Object getValue(String name)
- Specified by:
getValuein interfaceEvaluationContext
-
getValue
public Object getValue(String[] name)
- Specified by:
getValuein interfaceEvaluationContext
-
isDefined
public boolean isDefined(String name)
- Specified by:
isDefinedin interfaceEvaluationContext
-
isDefined
public boolean isDefined(String[] name)
- Specified by:
isDefinedin interfaceEvaluationContext
-
getAllValues
public Map<String,Object> getAllValues()
- Specified by:
getAllValuesin interfaceEvaluationContext
-
notifyEvt
public void notifyEvt(Supplier<org.kie.dmn.api.feel.runtime.events.FEELEvent> event)
- Specified by:
notifyEvtin interfaceEvaluationContext
-
getListeners
public Collection<org.kie.dmn.api.feel.runtime.events.FEELEventListener> getListeners()
- Specified by:
getListenersin interfaceEvaluationContext
-
setRootObject
public void setRootObject(Object v)
- Specified by:
setRootObjectin interfaceEvaluationContext
-
getRootObject
public Object getRootObject()
- Specified by:
getRootObjectin interfaceEvaluationContext
-
getDMNRuntime
public org.kie.dmn.api.core.DMNRuntime getDMNRuntime()
- Specified by:
getDMNRuntimein interfaceEvaluationContext
-
getRootClassLoader
@GwtIncompatible public ClassLoader getRootClassLoader()
- Specified by:
getRootClassLoaderin interfaceEvaluationContext
-
-