Class LoggingProgressMonitor
java.lang.Object
org.variantsync.diffdetective.load.LoggingProgressMonitor
- All Implemented Interfaces:
org.eclipse.jgit.lib.ProgressMonitor
Logs the start of all tasks as
INFO to the tinylog API.
This class will never cancel the monitored computation.-
Field Summary
Fields inherited from interface org.eclipse.jgit.lib.ProgressMonitor
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendTask()booleanvoidshowDuration(boolean enabled) voidstart(int totalTasks) voidupdate(int completed)
-
Constructor Details
-
LoggingProgressMonitor
public LoggingProgressMonitor()
-
-
Method Details
-
start
public void start(int totalTasks) - Specified by:
startin interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
beginTask
- Specified by:
beginTaskin interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
update
public void update(int completed) - Specified by:
updatein interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
endTask
public void endTask()- Specified by:
endTaskin interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
showDuration
public void showDuration(boolean enabled) - Specified by:
showDurationin interfaceorg.eclipse.jgit.lib.ProgressMonitor
-