Class ConsoleProgressIndicator

java.lang.Object
org.reldb.toolbox.progress.StandardProgressIndicator
org.reldb.toolbox.progress.ConsoleProgressIndicator
All Implemented Interfaces:
ProgressIndicator

public class ConsoleProgressIndicator extends StandardProgressIndicator
A ProgressIndicator that outputs to the console.
  • Constructor Details

    • ConsoleProgressIndicator

      public ConsoleProgressIndicator(String messagePrefix, ProgressIndicatorMessage messageGenerator)
      Constructor.
      Parameters:
      messagePrefix - This will be prefixed to all outputted messages.
      messageGenerator - Lambda expression that defines the progress message.
    • ConsoleProgressIndicator

      public ConsoleProgressIndicator(String messagePrefix)
      Constructor.
      Parameters:
      messagePrefix - This will be prefixed to all outputted messages.
    • ConsoleProgressIndicator

      public ConsoleProgressIndicator()
      Constructor for console display without message prefix.