- All Known Implementing Classes:
JavaAlgorithmExecutorFactory,JavaExprAlgorithmExecutionFactory,ScriptAlgorithmExecutorFactory
public interface AlgorithmExecutorFactory
Responsible for creating algorithm executors.
One such factory exists for every supported language.
-
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
-
Method Details
-
makeExecutor
AlgorithmExecutor makeExecutor(CustomAlgorithm alg, AlgorithmExecutionContext execCtx) throws AlgorithmException Creates a new executor for the algorithm running in the execution context- Parameters:
alg- - the algorithm definitionexecCtx- - the algorithm execution context- Returns:
- Throws:
AlgorithmException
-
getLanguages
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)- Returns:
-