Package com.illumon.util.progress
Class ProgressLogger
java.lang.Object
com.illumon.util.progress.ProgressLogger
- All Implemented Interfaces:
StatusCallback
Log the status and progress to a log file.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.util.progress.StatusCallback
finish, finish, getStepValue, remaining, remaining, subrange, update
-
Constructor Details
-
ProgressLogger
-
-
Method Details
-
update
Description copied from interface:StatusCallbackUpdate the progress % and status message.- Specified by:
updatein interfaceStatusCallback- Parameters:
progress- percent complete (0-100)status- optional message supplier
-
getValue
public int getValue()Description copied from interface:StatusCallbackget the current value of the progress object.- Specified by:
getValuein interfaceStatusCallback- Returns:
- the % complete of the topmost ProcessStatus - a number between 1 and 100
-