Package me.friwi.jcefmaven.impl.progress
Class ConsoleProgressHandler
java.lang.Object
me.friwi.jcefmaven.impl.progress.ConsoleProgressHandler
- All Implemented Interfaces:
IProgressHandler
Default implementation for the
IProgressHandler interface.- Author:
- Fritz Windisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleProgress(EnumProgress state, float percent) Handles a progress update from the installation and loading process.
-
Constructor Details
-
ConsoleProgressHandler
public ConsoleProgressHandler()
-
-
Method Details
-
handleProgress
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
-