Class Overview
A task progress sink that will log progress updates to the logger passed in.
Summary
Public Methods |
void
|
makeProgress(long taskProgress, String currentSubTask, String msg)
This method can be called to indicate that progress is being made by a task.
|
Public Constructors
public
LoggingProgressSink
(Logger logger, String message, int increment)
Public Methods
public
void
makeProgress
(long taskProgress, String currentSubTask, String msg)
This method can be called to indicate that progress is being made by a task.
Parameters
taskProgress
| an amount that indicates what progress has been made. |
currentSubTask
| the name of the current sub task or null if there isn't one |
msg
| an optional message about the progress; otherwise null
|