You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/ScriptEngineFactory.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,12 @@ public interface ScriptEngineFactory {
68
68
69
69
/**
70
70
* This method creates a new ScriptEngine based on the supplied file extension or MimeType.
71
+
* openHAB-core always passes as parameter one of the values, returned by getScriptTypes().
72
+
* The parameter serves for a ScriptEngineFactory, which announces support for several
73
+
* languages, e.g. Pascal and PHP, to create a ScriptEngine for the requested language.
71
74
*
72
75
* @param scriptType a file extension (script) or MimeType (ScriptAction or ScriptCondition)
0 commit comments