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 java.lang.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 java.util.Map<java.lang.String,java.lang.Object>getAllValues()java.lang.ObjectgetRootObject()java.lang.ObjectgetValue(java.lang.String symbol)booleanisDefined(java.lang.String symbol)voidsetRootObject(java.lang.Object v)voidsetValue(java.lang.String symbol, java.lang.Object value)
-
-
-
Field Detail
-
INSTANCE
public static final ExecutionFrame INSTANCE
-
-
Method Detail
-
getValue
public java.lang.Object getValue(java.lang.String symbol)
- Specified by:
getValuein interfaceExecutionFrame
-
isDefined
public boolean isDefined(java.lang.String symbol)
- Specified by:
isDefinedin interfaceExecutionFrame
-
setValue
public void setValue(java.lang.String symbol, java.lang.Object value)- Specified by:
setValuein interfaceExecutionFrame
-
getAllValues
public java.util.Map<java.lang.String,java.lang.Object> getAllValues()
- Specified by:
getAllValuesin interfaceExecutionFrame
-
setRootObject
public void setRootObject(java.lang.Object v)
- Specified by:
setRootObjectin interfaceExecutionFrame
-
getRootObject
public java.lang.Object getRootObject()
- Specified by:
getRootObjectin interfaceExecutionFrame
-
-