Package nl.b3p.brmo.bgt.loader.cli
Class ConsoleProgressReporter
java.lang.Object
nl.b3p.brmo.bgt.loader.ProgressReporter
nl.b3p.brmo.bgt.loader.cli.ConsoleProgressReporter
- All Implemented Interfaces:
Consumer<ObjectTableWriter.Progress>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ObjectTableWriter.Progress genericProgress) protected void
void
protected void
Methods inherited from class nl.b3p.brmo.bgt.loader.ProgressReporter
getCurrentFileName, getCurrentFileSize, getCurrentFileStart, getStart, getTotalBytes, getTotalBytesReadFunction, setTotalBytes, setTotalBytesReadFunction, startNewFile
-
Field Details
-
totalStart
Instant totalStart
-
-
Constructor Details
-
ConsoleProgressReporter
public ConsoleProgressReporter()
-
-
Method Details
-
log
- Overrides:
log
in classProgressReporter
-
status
- Overrides:
status
in classProgressReporter
-
reportTotalSummary
public void reportTotalSummary()- Overrides:
reportTotalSummary
in classProgressReporter
-
accept
- Specified by:
accept
in interfaceConsumer<ObjectTableWriter.Progress>
- Overrides:
accept
in classProgressReporter
-