public class EmptyReporter extends Object implements Reporter
EmptyReporter is the basis implementation for Reporters.
It is basically a no-op implementation.| Constructor and Description |
|---|
EmptyReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
Object... args)
Add a message in the error list.
|
List<String> |
getErrors() |
protected Object[] |
getMessageArguments(Object... args) |
protected Throwable |
getThrowable(Object... args) |
List<String> |
getWarnings() |
void |
info(String message,
Object... args)
Add an informative message
It accepts a
Throwable as last argument. |
void |
trace(String message,
Object... args)
Add aa trace message
It accepts a
Throwable as last argument. |
void |
warn(String message,
Object... args)
Add a message in the warning list.
|
public void trace(String message, Object... args)
ReporterThrowable as last argument.public void info(String message, Object... args)
ReporterThrowable as last argument.public void warn(String message, Object... args)
ReporterThrowable as last argument.public void error(String message, Object... args)
ReporterThrowable as last argument.public List<String> getWarnings()
getWarnings in interface ReporterCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.