|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.CompilerResults
public class CompilerResults
Encapsulates the statistics and exceptions (or errors) from a compilation.
| Constructor Summary | |
|---|---|
CompilerResults(CompilerStatistics stats,
java.util.Set<java.lang.Throwable> errors)
Create an object which contains the results of a compilation: the statistics and the list of exceptions. |
|
| Method Summary | |
|---|---|
java.lang.String |
formatErrors()
Format the exceptions thrown during the compilation process. |
java.lang.String |
formatStats()
Format a summary of the compilation statistics and return the summary. |
java.util.Set<java.lang.Throwable> |
getErrors()
Return a list containing all of the errors and exceptions thrown during processing. |
boolean |
print(boolean verbose)
Prints out the formatted results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompilerResults(CompilerStatistics stats,
java.util.Set<java.lang.Throwable> errors)
stats - Statistics for the compilation (may not be null)errors - Exceptions or errors thrown during the compilation (may be
null if none were thrown)
java.lang.IllegalArgumentException - if stats is null| Method Detail |
|---|
public boolean print(boolean verbose)
results - public java.lang.String formatErrors()
public java.lang.String formatStats()
public java.util.Set<java.lang.Throwable> getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||