public class NashornJSHinter extends AbstractJSHinter
| Modifier and Type | Field and Description |
|---|---|
protected Bindings |
bindings |
protected Object |
jshintScript |
protected boolean |
jshintScriptLoaded |
protected ScriptEngine |
nashornEngine |
effectiveJSHintConfig, log| Constructor and Description |
|---|
NashornJSHinter(org.apache.maven.plugin.logging.Log log,
File jshintScriptFile) |
NashornJSHinter(org.apache.maven.plugin.logging.Log log,
String versionOrResourcePath,
boolean resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureEngineInitialisation() |
protected List<Error> |
executeJSHintImpl(File baseDirectory,
String path,
String effectiveJSHintConfigContent) |
executeJSHint, lookupCustomJSHintConfig, readSource, readSourceLines, reportErrorsprotected final ScriptEngine nashornEngine
protected final Bindings bindings
protected final Object jshintScript
protected boolean jshintScriptLoaded
public NashornJSHinter(org.apache.maven.plugin.logging.Log log,
String versionOrResourcePath,
boolean resourcePath)
public NashornJSHinter(org.apache.maven.plugin.logging.Log log,
File jshintScriptFile)
protected List<Error> executeJSHintImpl(File baseDirectory, String path, String effectiveJSHintConfigContent)
executeJSHintImpl in class AbstractJSHinterprotected void ensureEngineInitialisation()
Copyright © 2016. All rights reserved.