public abstract class RuntimeOperation extends Object implements Invokable<Object,TBasicContextHolderEnv>
RuntimeOperation class describes operation in common. Contains link to source of this operation and
can be executed with debug mode.| Constructor and Description |
|---|
RuntimeOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract Result |
execute(TBasicContextHolderEnv environment,
Object param)
Run operation in specified context.
|
String |
getNameForDebug() |
AlgorithmOperationSource |
getSourceCode() |
Result |
invoke(Object target,
Object[] params,
TBasicContextHolderEnv env) |
void |
setNameForDebug(String nameForDebug) |
void |
setSourceCode(AlgorithmOperationSource sourceCode) |
public abstract Result execute(TBasicContextHolderEnv environment, Object param)
environment - Environment for execution.param - Argument for execution.public String getNameForDebug()
public AlgorithmOperationSource getSourceCode()
public void setNameForDebug(String nameForDebug)
nameForDebug - the nameForDebug to setpublic void setSourceCode(AlgorithmOperationSource sourceCode)
public Result invoke(Object target, Object[] params, TBasicContextHolderEnv env)
invoke in interface Invokable<Object,TBasicContextHolderEnv>Copyright © 2004–2019 OpenL Tablets. All rights reserved.