Package org.openl.rules.vm
Class SimpleRulesRuntimeEnv
- java.lang.Object
-
- org.openl.vm.SimpleVM.SimpleRuntimeEnv
-
- org.openl.rules.vm.SimpleRulesRuntimeEnv
-
- All Implemented Interfaces:
IRuntimeEnv
- Direct Known Subclasses:
SimpleRulesRuntimeEnvMT
public class SimpleRulesRuntimeEnv extends SimpleVM.SimpleRuntimeEnv
-
-
Field Summary
-
Fields inherited from class org.openl.vm.SimpleVM.SimpleRuntimeEnv
contextStack, frameStack, thisStack
-
-
Constructor Summary
Constructors Constructor Description SimpleRulesRuntimeEnv()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IRuntimeContextbuildDefaultRuntimeContext()booleancancelActionIfExists()voidchangeMethodArgumentsCacheMode(CacheMode mode)IRuntimeEnvclone()ArrayDeque<IRuntimeContext>cloneContextStack()ArgumentCachingStoragegetArgumentCachingStorage()CacheModegetCacheMode()IRulesMethodWrappergetMethodWrapper()IOpenClassgetTopClass()booleanisIgnoreRecalculation()booleanisMethodArgumentsCacheEnable()booleanisOriginalCalculation()booleanjoinActionIfExists()voidpushAction(RecursiveAction action)voidsetIgnoreRecalculate(boolean ignoreRecalculate)voidsetMethodArgumentsCacheEnable(boolean enable)voidsetMethodWrapper(IRulesMethodWrapper methodWrapper)voidsetOriginalCalculation(boolean originalCalculation)voidsetTopClass(IOpenClass topClass)-
Methods inherited from class org.openl.vm.SimpleVM.SimpleRuntimeEnv
getContext, getLocalFrame, getRunner, getThis, isContextManagingSupported, popContext, popLocalFrame, popThis, pushContext, pushLocalFrame, pushThis, setContext
-
-
-
-
Method Detail
-
clone
public IRuntimeEnv clone()
- Overrides:
clonein classSimpleVM.SimpleRuntimeEnv
-
cloneContextStack
public ArrayDeque<IRuntimeContext> cloneContextStack()
-
buildDefaultRuntimeContext
protected IRuntimeContext buildDefaultRuntimeContext()
- Overrides:
buildDefaultRuntimeContextin classSimpleVM.SimpleRuntimeEnv
-
isMethodArgumentsCacheEnable
public boolean isMethodArgumentsCacheEnable()
-
changeMethodArgumentsCacheMode
public void changeMethodArgumentsCacheMode(CacheMode mode)
-
getCacheMode
public CacheMode getCacheMode()
-
setMethodArgumentsCacheEnable
public void setMethodArgumentsCacheEnable(boolean enable)
-
isIgnoreRecalculation
public boolean isIgnoreRecalculation()
-
setIgnoreRecalculate
public void setIgnoreRecalculate(boolean ignoreRecalculate)
-
isOriginalCalculation
public boolean isOriginalCalculation()
-
setOriginalCalculation
public void setOriginalCalculation(boolean originalCalculation)
-
getArgumentCachingStorage
public ArgumentCachingStorage getArgumentCachingStorage()
-
getMethodWrapper
public IRulesMethodWrapper getMethodWrapper()
-
setMethodWrapper
public void setMethodWrapper(IRulesMethodWrapper methodWrapper)
-
getTopClass
public IOpenClass getTopClass()
-
setTopClass
public void setTopClass(IOpenClass topClass)
-
pushAction
public void pushAction(RecursiveAction action)
-
joinActionIfExists
public boolean joinActionIfExists()
-
cancelActionIfExists
public boolean cancelActionIfExists()
-
-