Package jmri.script
Class ScriptEngineSelector.Engine
java.lang.Object
jmri.script.ScriptEngineSelector.Engine
- Enclosing class:
- ScriptEngineSelector
-
Constructor Details
-
Engine
Engine(String name, String id) throws ScriptException - Throws:
ScriptException
-
-
Method Details
-
getName
Get the name.- Returns:
- the name
-
getLanguageName
Get the name.- Returns:
- the name
-
getScriptEngine
Get the script engine.- Returns:
- the script engine
-
isJython
Is this engine for Jython/Python?- Returns:
- true if Jython/Python, false otherwise
-
isJavaScript
Is this engine for JavaScript/ECMAscript?- Returns:
- true if JavaScript/ECMAscript, false otherwise
-
toString
-