Package org.reldb.toolbox.progress
Class ConsoleProgressIndicator
java.lang.Object
org.reldb.toolbox.progress.StandardProgressIndicator
org.reldb.toolbox.progress.ConsoleProgressIndicator
- All Implemented Interfaces:
ProgressIndicator
A ProgressIndicator that outputs to the console.
-
Constructor Summary
ConstructorDescriptionConstructor for console display without message prefix.ConsoleProgressIndicator(String messagePrefix)
Constructor.ConsoleProgressIndicator(String messagePrefix, ProgressIndicatorMessage messageGenerator)
Constructor. -
Method Summary
Methods inherited from class org.reldb.toolbox.progress.StandardProgressIndicator
getLastMessage, getMessagePrefix, getPercent, getPosition, getPrecision, getProgressMessage, getSteps, initialise, move, setPrecision
-
Constructor Details
-
ConsoleProgressIndicator
Constructor.- Parameters:
messagePrefix
- This will be prefixed to all outputted messages.messageGenerator
- Lambda expression that defines the progress message.
-
ConsoleProgressIndicator
Constructor.- Parameters:
messagePrefix
- This will be prefixed to all outputted messages.
-
ConsoleProgressIndicator
public ConsoleProgressIndicator()Constructor for console display without message prefix.
-