com.googlecode.jslint4java
Class JSLintResult

java.lang.Object
  extended by com.googlecode.jslint4java.JSLintResult

public class JSLintResult
extends Object

The result of a JSLint run.

Author:
hdm

Nested Class Summary
static class JSLintResult.ResultBuilder
          Allow constructing a result class in such a way that we can publish immutable instances, even from outside this package.
 
Method Summary
 long getDuration()
          How long did JSLint take to run? (milliseconds)
 List<JSFunction> getFunctions()
          Return a list of functions defined.
 List<String> getGlobals()
          List all names defined in the global namespace.
 List<Issue> getIssues()
          Return a list of all issues that JSLint found with this source code.
 Map<String,Integer> getMember()
          A count of how many times each member name is defined.
 String getName()
          The name of the source file just validated.
 String getReport()
          An HTML report of the source file.
 List<String> getUrls()
          A list of URLs encountered (when parsing HTML).
 boolean isJson()
          Was this JSON?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDuration

public long getDuration()
How long did JSLint take to run? (milliseconds)


getFunctions

public List<JSFunction> getFunctions()
Return a list of functions defined.


getGlobals

public List<String> getGlobals()
List all names defined in the global namespace.


getIssues

public List<Issue> getIssues()
Return a list of all issues that JSLint found with this source code.


getMember

public Map<String,Integer> getMember()
A count of how many times each member name is defined.


getName

public String getName()
The name of the source file just validated.


getReport

public String getReport()
An HTML report of the source file.


getUrls

public List<String> getUrls()
A list of URLs encountered (when parsing HTML).


isJson

public boolean isJson()
Was this JSON?



Copyright © 2007-2012. All Rights Reserved.