Package org.openl.rules.tbasic
Class AlgorithmInvoker
- java.lang.Object
-
- org.openl.rules.method.RulesMethodInvoker<Algorithm>
-
- org.openl.rules.tbasic.AlgorithmInvoker
-
- All Implemented Interfaces:
Invokable
public class AlgorithmInvoker extends RulesMethodInvoker<Algorithm>
Invoker forAlgorithm.- Author:
- Yury Molchan
-
-
Constructor Summary
Constructors Constructor Description AlgorithmInvoker(Algorithm algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanInvoke()Checks if it is possible to invoke invokable object.ObjectinvokeSimple(Object target, Object[] params, IRuntimeEnv env)Invoke for simple run operation.-
Methods inherited from class org.openl.rules.method.RulesMethodInvoker
getInvokableMethod, invoke
-
-
-
-
Constructor Detail
-
AlgorithmInvoker
public AlgorithmInvoker(Algorithm algorithm)
-
-
Method Detail
-
canInvoke
public boolean canInvoke()
Description copied from class:RulesMethodInvokerChecks if it is possible to invoke invokable object.- Specified by:
canInvokein classRulesMethodInvoker<Algorithm>
-
invokeSimple
public Object invokeSimple(Object target, Object[] params, IRuntimeEnv env)
Description copied from class:RulesMethodInvokerInvoke for simple run operation.- Specified by:
invokeSimplein classRulesMethodInvoker<Algorithm>
-
-