public class Reporter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
LAZY_MARKER |
protected static java.lang.String |
NEWLINE |
protected static java.lang.String |
TAB |
| Constructor and Description |
|---|
Reporter(java.lang.Class<? extends FeatureInstaller> type,
java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
Reporter |
emptyLine()
Prints empty line.
|
java.lang.String |
lazy(boolean isLazy)
Supports
@LazyBinding annotation, to show lazy marks in report. |
Reporter |
line(java.lang.String line,
java.lang.Object... args)
Prints formatted line.
|
void |
report()
Prints composed report into logger or do nothing if no lines were provided.
|
Reporter |
separate()
Writes empty line if something was printed before and it was not
emptyLine(). |
protected static final java.lang.String NEWLINE
protected static final java.lang.String TAB
protected static final java.lang.String LAZY_MARKER
public Reporter(java.lang.Class<? extends FeatureInstaller> type, java.lang.String title)
public final java.lang.String lazy(boolean isLazy)
@LazyBinding annotation, to show lazy marks in report.isLazy - lazy markerpublic final Reporter line(java.lang.String line, java.lang.Object... args)
line - line with String.format syntaxargs - message argumentspublic final Reporter emptyLine()
public final Reporter separate()
emptyLine().public void report()