Package org.kie.dmn.feel.lang.impl
Class RootExecutionFrame
- java.lang.Object
-
- org.kie.dmn.feel.lang.impl.RootExecutionFrame
-
- All Implemented Interfaces:
ExecutionFrame
public class RootExecutionFrame extends Object implements ExecutionFrame
This is a thread safe implementation of a root execution frame that automatically registers all the built in functions.
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionFrameINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAllValues()ObjectgetRootObject()ObjectgetValue(String symbol)booleanisDefined(String symbol)voidsetRootObject(Object v)voidsetValue(String symbol, Object value)
-
-
-
Field Detail
-
INSTANCE
public static final ExecutionFrame INSTANCE
-
-
Method Detail
-
getValue
public Object getValue(String symbol)
- Specified by:
getValuein interfaceExecutionFrame
-
isDefined
public boolean isDefined(String symbol)
- Specified by:
isDefinedin interfaceExecutionFrame
-
setValue
public void setValue(String symbol, Object value)
- Specified by:
setValuein interfaceExecutionFrame
-
getAllValues
public Map<String,Object> getAllValues()
- Specified by:
getAllValuesin interfaceExecutionFrame
-
setRootObject
public void setRootObject(Object v)
- Specified by:
setRootObjectin interfaceExecutionFrame
-
getRootObject
public Object getRootObject()
- Specified by:
getRootObjectin interfaceExecutionFrame
-
-