Package com.google.javascript.jscomp.ant
Class AntErrorManager
- java.lang.Object
-
- com.google.javascript.jscomp.SortingErrorManager
-
- com.google.javascript.jscomp.BasicErrorManager
-
- com.google.javascript.jscomp.ant.AntErrorManager
-
- All Implemented Interfaces:
ErrorHandler
,ErrorManager
public final class AntErrorManager extends BasicErrorManager
An error manager that pipes warnings and errors properly into the Ant task infrastructure.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.javascript.jscomp.SortingErrorManager
SortingErrorManager.ErrorReportGenerator
-
-
Constructor Summary
Constructors Constructor Description AntErrorManager(MessageFormatter formatter, org.apache.tools.ant.Task task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
println(CheckLevel level, JSError error)
Print a message with a trailing new line.protected void
printSummary()
Print the summary of the compilation - number of errors and warnings.-
Methods inherited from class com.google.javascript.jscomp.BasicErrorManager
generateReport
-
Methods inherited from class com.google.javascript.jscomp.SortingErrorManager
getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.javascript.jscomp.ErrorManager
shouldReportConformanceViolation
-
-
-
-
Constructor Detail
-
AntErrorManager
public AntErrorManager(MessageFormatter formatter, org.apache.tools.ant.Task task)
-
-
Method Detail
-
println
public void println(CheckLevel level, JSError error)
Description copied from class:BasicErrorManager
Print a message with a trailing new line. This method is called by theBasicErrorManager.generateReport()
method when generating messages.- Specified by:
println
in classBasicErrorManager
-
printSummary
protected void printSummary()
Description copied from class:BasicErrorManager
Print the summary of the compilation - number of errors and warnings.- Specified by:
printSummary
in classBasicErrorManager
-
-