Package org.yamcs.algorithms
Class JavaAlgorithmExecutorFactory
- java.lang.Object
-
- org.yamcs.algorithms.JavaAlgorithmExecutorFactory
-
- All Implemented Interfaces:
AlgorithmExecutorFactory
public class JavaAlgorithmExecutorFactory extends Object implements AlgorithmExecutorFactory
-
-
Constructor Summary
Constructors Constructor Description JavaAlgorithmExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getLanguages()Returns all the languages supported by this factory.AlgorithmExecutormakeExecutor(CustomAlgorithm alg, AlgorithmExecutionContext execCtx)Creates a new executor for the algorithm running in the execution context
-
-
-
Method Detail
-
makeExecutor
public AlgorithmExecutor makeExecutor(CustomAlgorithm alg, AlgorithmExecutionContext execCtx)
Description copied from interface:AlgorithmExecutorFactoryCreates a new executor for the algorithm running in the execution context- Specified by:
makeExecutorin interfaceAlgorithmExecutorFactory- Parameters:
alg- - the algorithm definitionexecCtx- - the algorithm execution context- Returns:
-
getLanguages
public List<String> getLanguages()
Description copied from interface:AlgorithmExecutorFactoryReturns 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:
getLanguagesin interfaceAlgorithmExecutorFactory- Returns:
-
-