public class CompilerResults extends Object
| Constructor and Description |
|---|
CompilerResults(CompilerStatistics stats,
Set<Throwable> errors)
Create an object which contains the results of a compilation: the
statistics and the list of exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatErrors()
Format the exceptions thrown during the compilation process.
|
String |
formatStats()
Format a summary of the compilation statistics and return the summary.
|
Set<Throwable> |
getErrors()
Return a list containing all of the errors and exceptions thrown during
processing.
|
boolean |
print(boolean verbose)
Prints out the formatted results.
|
public CompilerResults(CompilerStatistics stats, Set<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)IllegalArgumentException - if stats is nullpublic boolean print(boolean verbose)
verbose - whether or not to print verbose compiler outputpublic String formatErrors()
public String formatStats()
Copyright © 2014 Quattor. All Rights Reserved.