Package me.friwi.jcefmaven.impl.progress
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 theIProgressHandlerinterface.- Author:
- Fritz Windisch
-
-
Constructor Summary
Constructors Constructor Description ConsoleProgressHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleProgress(EnumProgress state, float percent)Handles a progress update from the installation and loading process.
-
-
-
Method Detail
-
handleProgress
public void handleProgress(EnumProgress state, float percent)
Description copied from interface:IProgressHandlerHandles a progress update from the installation and loading process.- Specified by:
handleProgressin interfaceIProgressHandler- Parameters:
state- The state the installer is now in.percent- -1 if no percentage available (unpredictable task) or [0f, 100f] if predictable
-
-