public interface Reporter extends Report
Modifier and Type | Interface and Description |
---|---|
static interface |
Reporter.SetLocation
Fluid interface to set location data
|
Report.Location
Modifier and Type | Method and Description |
---|---|
Reporter.SetLocation |
error(java.lang.String format,
java.lang.Object... args)
Create an error.
|
Reporter.SetLocation |
exception(java.lang.Throwable t,
java.lang.String format,
java.lang.Object... args)
Dedicated message for an exception.
|
boolean |
isPedantic()
The provider of the reporter wants pedantic reporting, meaning every
possible warning should be reported.
|
void |
progress(float progress,
java.lang.String format,
java.lang.Object... args)
Create a warning.
|
void |
trace(java.lang.String format,
java.lang.Object... args)
Create a warning.
|
Reporter.SetLocation |
warning(java.lang.String format,
java.lang.Object... args)
Create a warning.
|
getErrors, getLocation, getWarnings, isOk
Reporter.SetLocation error(java.lang.String format, java.lang.Object... args)
format
- The format of the errorargs
- The arguments of the errorReporter.SetLocation warning(java.lang.String format, java.lang.Object... args)
format
- The format of the errorargs
- The arguments of the errorvoid trace(java.lang.String format, java.lang.Object... args)
format
- The format of the errorargs
- The arguments of the errorvoid progress(float progress, java.lang.String format, java.lang.Object... args)
progress
- A value between 0 and 1 indicating the progress. 0 is
starting and >=1 is done.format
- The format of the errorargs
- The arguments of the errorReporter.SetLocation exception(java.lang.Throwable t, java.lang.String format, java.lang.Object... args)
t
- The exceptionformat
- The format of the messageargs
- The argumentsboolean isPedantic()