public class MojoReporter extends Object implements org.thewonderlemming.c4plantuml.commons.Reporter
Reporter implementation that collects reported messages to enable their retrieval later.| Constructor and Description |
|---|
MojoReporter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsReports()
Checks whether or not the current
Reporter instance contains messages. |
List<String> |
getReports()
Retrieves the reported messages.
|
void |
report(String message) |
public boolean containsReports()
Reporter instance contains messages.true if there are messages, false else.public List<String> getReports()
The first message of the list will be the first message that was reported (FIFO).
public void report(String message)
report in interface org.thewonderlemming.c4plantuml.commons.ReporterCopyright © 2020. All rights reserved.