Package org.openl.rules.method
Class ExecutableRulesMethod
- java.lang.Object
-
- org.openl.types.impl.AMethod
-
- org.openl.types.impl.ExecutableMethod
-
- org.openl.rules.method.ExecutableRulesMethod
-
- All Implemented Interfaces:
INamedThing,IMetaInfo,ITablePropertiesMethod,IMemberMetaInfo,IMethodCaller,IModuleInfo,Invokable,IOpenMember,IOpenMethod,IOpenMethodHeader
- Direct Known Subclasses:
AlgorithmFunction,ColumnMatch,DecisionTable,Spreadsheet,TableMethod,TestSuiteMethod
public abstract class ExecutableRulesMethod extends ExecutableMethod implements ITablePropertiesMethod, IModuleInfo
-
-
Field Summary
-
Fields inherited from interface org.openl.base.INamedThing
EMPTY, LONG, REGULAR, SHORT
-
Fields inherited from interface org.openl.types.IOpenMethod
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description ExecutableRulesMethod(IOpenMethodHeader header, ATableBoundNode boundNode)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclearForExecutionMode()ATableBoundNodegetBoundNode()IMemberMetaInfogetInfo()ITablePropertiesgetMethodProperties()StringgetModuleName()Map<String,Object>getProperties()TableSyntaxNodegetSyntaxNode()Overridden to get access toTableSyntaxNodefrom current implementation.protected voidinitProperties(ITableProperties tableProperties)protected abstract ObjectinnerInvoke(Object target, Object[] params, IRuntimeEnv env)Objectinvoke(Object target, Object[] params, IRuntimeEnv env)booleanisAlias()protected booleanisMethodCacheable()voidsetBoundNode(ATableBoundNode node)voidsetModuleName(String moduleName)-
Methods inherited from class org.openl.types.impl.ExecutableMethod
isConstructor, toString
-
Methods inherited from class org.openl.types.impl.AMethod
getDeclaringClass, getDisplayName, getHeader, getMethod, getName, getSignature, getType, isStatic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openl.types.IMemberMetaInfo
getDependencies
-
Methods inherited from interface org.openl.meta.IMetaInfo
getDisplayName, getSourceUrl
-
-
-
-
Constructor Detail
-
ExecutableRulesMethod
public ExecutableRulesMethod(IOpenMethodHeader header, ATableBoundNode boundNode)
-
-
Method Detail
-
getModuleName
public String getModuleName()
- Specified by:
getModuleNamein interfaceIModuleInfo
-
setModuleName
public void setModuleName(String moduleName)
-
isMethodCacheable
protected boolean isMethodCacheable()
-
invoke
public Object invoke(Object target, Object[] params, IRuntimeEnv env)
-
innerInvoke
protected abstract Object innerInvoke(Object target, Object[] params, IRuntimeEnv env)
-
setBoundNode
public void setBoundNode(ATableBoundNode node)
-
clearForExecutionMode
public void clearForExecutionMode()
-
getBoundNode
public ATableBoundNode getBoundNode()
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin interfaceIMemberMetaInfo- Specified by:
getPropertiesin interfaceITablePropertiesMethod
-
getMethodProperties
public ITableProperties getMethodProperties()
- Specified by:
getMethodPropertiesin interfaceITablePropertiesMethod
-
getInfo
public IMemberMetaInfo getInfo()
- Specified by:
getInfoin interfaceIOpenMember- Overrides:
getInfoin classAMethod
-
initProperties
protected void initProperties(ITableProperties tableProperties)
-
getSyntaxNode
public TableSyntaxNode getSyntaxNode()
Overridden to get access toTableSyntaxNodefrom current implementation.- Specified by:
getSyntaxNodein interfaceIMemberMetaInfo
-
isAlias
public boolean isAlias()
-
-