Package org.openl.rules.tbasic
Class AlgorithmSubroutineMethod
- java.lang.Object
-
- org.openl.types.impl.AMethod
-
- org.openl.types.impl.ExecutableMethod
-
- org.openl.rules.method.ExecutableRulesMethod
-
- org.openl.rules.tbasic.AlgorithmFunction
-
- org.openl.rules.tbasic.AlgorithmSubroutineMethod
-
- All Implemented Interfaces:
INamedThing,IMetaInfo,ITablePropertiesMethod,IMemberMetaInfo,IMethodCaller,IModuleInfo,Invokable,IOpenMember,IOpenMethod,IOpenMethodHeader
- Direct Known Subclasses:
AbstractAlgorithmSubroutineMethodWrapper
public class AlgorithmSubroutineMethod extends AlgorithmFunction
Table Basic Algorithm component for internal subroutines and functions. It can be run only inside call hierarchy of parent Algorithm. However, it does not have any links to parent Algorithm, but relies on invocation arguments.
-
-
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 AlgorithmSubroutineMethod(IOpenMethodHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RuntimeOperation>getAlgorithmSteps()BindingDependenciesgetDependencies()IGridRegiongetGridRegion()Map<String,Object>getProperties()StringgetSourceUrl()TableSyntaxNodegetSyntaxNode()Overridden to get access toTableSyntaxNodefrom current implementation.protected ObjectinnerInvoke(Object target, Object[] params, IRuntimeEnv env)voidsetAlgorithmSteps(List<RuntimeOperation> operations)voidsetLabels(Map<String,RuntimeOperation> localLabelsRegister)-
Methods inherited from class org.openl.rules.method.ExecutableRulesMethod
clearForExecutionMode, getBoundNode, getInfo, getMethodProperties, getModuleName, initProperties, invoke, isAlias, isMethodCacheable, setBoundNode, setModuleName
-
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.meta.IMetaInfo
getDisplayName
-
-
-
-
Constructor Detail
-
AlgorithmSubroutineMethod
public AlgorithmSubroutineMethod(IOpenMethodHeader header)
-
-
Method Detail
-
getGridRegion
public IGridRegion getGridRegion()
-
getSourceUrl
public String getSourceUrl()
-
innerInvoke
protected Object innerInvoke(Object target, Object[] params, IRuntimeEnv env)
- Specified by:
innerInvokein classExecutableRulesMethod
-
setAlgorithmSteps
public void setAlgorithmSteps(List<RuntimeOperation> operations)
- Specified by:
setAlgorithmStepsin classAlgorithmFunction
-
getAlgorithmSteps
public List<RuntimeOperation> getAlgorithmSteps()
- Specified by:
getAlgorithmStepsin classAlgorithmFunction
-
setLabels
public void setLabels(Map<String,RuntimeOperation> localLabelsRegister)
- Specified by:
setLabelsin classAlgorithmFunction
-
getDependencies
public BindingDependencies getDependencies()
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin interfaceIMemberMetaInfo- Specified by:
getPropertiesin interfaceITablePropertiesMethod- Overrides:
getPropertiesin classExecutableRulesMethod
-
getSyntaxNode
public TableSyntaxNode getSyntaxNode()
Description copied from class:ExecutableRulesMethodOverridden to get access toTableSyntaxNodefrom current implementation.- Specified by:
getSyntaxNodein interfaceIMemberMetaInfo- Overrides:
getSyntaxNodein classExecutableRulesMethod
-
-