Modifier and Type | Field and Description |
---|---|
private javax. | |
private static final String | |
private static final String | |
private static final List | |
private javax. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private void | |
private javax. | |
public Object | Returns: the result of the evaluationthe name that will be passed to the
scripting engine for this script execution. execName)Implements abstract org. |
public void | executeScript(String
the name that will be passed to the
scripting engine for this script execution. execName)Implements abstract org. |
public String | Returns: "javax"Implements abstract org. |
private boolean | |
private void | |
private void | |
public boolean | supportsLanguage()
Implements abstract org. |
private static BuildException |
compiledScript | back to summary |
---|---|
private javax. |
DROP_GRAAL_SECURITY_RESTRICTIONS | back to summary |
---|---|
private static final String DROP_GRAAL_SECURITY_RESTRICTIONS |
ENABLE_NASHORN_COMPAT_IN_GRAAL | back to summary |
---|---|
private static final String ENABLE_NASHORN_COMPAT_IN_GRAAL |
JS_LANGUAGES | back to summary |
---|---|
private static final List<String> JS_LANGUAGES |
keptEngine | back to summary |
---|---|
private javax. |
JavaxScriptRunner | back to summary |
---|---|
public JavaxScriptRunner() |
applyBindings | back to summary |
---|---|
private void applyBindings(BiConsumer<String, Object> target) |
createEngine | back to summary |
---|---|
private javax. |
evaluateScript | back to summary |
---|---|
public Object evaluateScript(String execName) throws BuildException Implements abstract org. Do the work to eval the script.
|
executeScript | back to summary |
---|---|
public void executeScript(String execName) throws BuildException Implements abstract org. Do the work to run the script.
|
getManagerName | back to summary |
---|---|
public String getManagerName() Implements abstract org. Get the name of the manager prefix. |
languageIsJavaScript | back to summary |
---|---|
private boolean languageIsJavaScript() |
maybeApplyGraalJsProperties | back to summary |
---|---|
private void maybeApplyGraalJsProperties(final javax. |
maybeEnableNashornCompatibility | back to summary |
---|---|
private void maybeEnableNashornCompatibility() |
supportsLanguage | back to summary |
---|---|
public boolean supportsLanguage() Implements abstract org. Doc from org. Check if a script engine can be created for this language..
|
unwrap | back to summary |
---|---|
private static BuildException unwrap(Throwable t) Traverse a Throwable's cause(s) and return the BuildException most deeply nested into it - if any. |