Class PerformOperation
- java.lang.Object
-
- org.openl.rules.tbasic.runtime.operations.RuntimeOperation
-
- org.openl.rules.tbasic.runtime.operations.OpenLEvaluationOperation
-
- org.openl.rules.tbasic.runtime.operations.PerformOperation
-
- All Implemented Interfaces:
Invokable<Object,TBasicContextHolderEnv>
public class PerformOperation extends OpenLEvaluationOperation
ThePerformOperationclass describes simple class which calculates some statement, but does not requires any return.- Author:
- User
-
-
Constructor Summary
Constructors Constructor Description PerformOperation(IMethodCaller openLStatement)Create an instance ofPerformOperation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultexecute(TBasicContextHolderEnv environment, Object param)Run operation in specified context.-
Methods inherited from class org.openl.rules.tbasic.runtime.operations.OpenLEvaluationOperation
evaluateStatement, getOpenLStatement
-
Methods inherited from class org.openl.rules.tbasic.runtime.operations.RuntimeOperation
getNameForDebug, getSourceCode, invoke, setNameForDebug, setSourceCode
-
-
-
-
Constructor Detail
-
PerformOperation
public PerformOperation(IMethodCaller openLStatement)
Create an instance ofPerformOperation.- Parameters:
openLStatement- Statement which result must be calculated.
-
-
Method Detail
-
execute
public Result execute(TBasicContextHolderEnv environment, Object param)
Description copied from class:RuntimeOperationRun operation in specified context.- Specified by:
executein classRuntimeOperation- Parameters:
environment- Environment for execution.param- Argument for execution.- Returns:
- The result of operation
-
-