Package org.yamcs.algorithms
Class JavaAlgorithmExecutorFactory
java.lang.Object
org.yamcs.algorithms.JavaAlgorithmExecutorFactory
- All Implemented Interfaces:
AlgorithmExecutorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns all the languages supported by this factory.makeExecutor
(CustomAlgorithm alg, AlgorithmExecutionContext execCtx) Creates a new executor for the algorithm running in the execution context
-
Constructor Details
-
JavaAlgorithmExecutorFactory
public JavaAlgorithmExecutorFactory()
-
-
Method Details
-
makeExecutor
Description copied from interface:AlgorithmExecutorFactory
Creates a new executor for the algorithm running in the execution context- Specified by:
makeExecutor
in interfaceAlgorithmExecutorFactory
- Parameters:
alg
- - the algorithm definitionexecCtx
- - the algorithm execution context- Returns:
-
getLanguages
Description copied from interface:AlgorithmExecutorFactory
Returns all the languages supported by this factory. Used in order to not create new factories for the same language with different names (e.g. JavaScript and ECMAScript)- Specified by:
getLanguages
in interfaceAlgorithmExecutorFactory
- Returns:
-