Class ConsoleProgressHandler

java.lang.Object
me.friwi.jcefmaven.impl.progress.ConsoleProgressHandler
All Implemented Interfaces:
IProgressHandler

public class ConsoleProgressHandler extends Object implements IProgressHandler
Default implementation for the IProgressHandler interface.
Author:
Fritz Windisch
  • Constructor Details

    • ConsoleProgressHandler

      public ConsoleProgressHandler()
  • Method Details

    • handleProgress

      public void handleProgress(EnumProgress state, float percent)
      Description copied from interface: IProgressHandler
      Handles a progress update from the installation and loading process.
      Specified by:
      handleProgress in interface IProgressHandler
      Parameters:
      state - The state the installer is now in.
      percent - -1 if no percentage available (unpredictable task) or [0f, 100f] if predictable