public interface ScriptEngineProvider
Note that the API module provides no factory class that would load the ScriptEngineProvider implementations present on the classpath. That is because for the script engine to be usable by RHQ, it needs to be initialized with a couple of dependencies that are not appropriate for the API module.
The factory is located in the rhq-script-bindings module as
org.rhq.bindings.ScriptEngineFactory.
| Modifier and Type | Method and Description |
|---|---|
CodeCompletion |
getCodeCompletion() |
ScriptEngineInitializer |
getInitializer() |
String |
getScriptFileExtension() |
String |
getSupportedLanguage() |
@NotNull String getSupportedLanguage()
ScriptEngine.getFactory().getParameter(ScriptEngine.NAME)
of the script engine that this provider provides (through the initializer).String getScriptFileExtension()
@NotNull ScriptEngineInitializer getInitializer()
ScriptEngineInitializer that can instantiate
and initialize a script engine for the supported language for use with RHQ.@Nullable CodeCompletion getCodeCompletion()
CodeCompletion implementation for the supported language or null
if this provider doesn't provide one.Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.