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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
endTask()
boolean
void
showDuration
(boolean enabled) void
start
(int totalTasks) void
update
(int completed)
-
Constructor Details
-
LoggingProgressMonitor
public LoggingProgressMonitor()
-
-
Method Details
-
start
public void start(int totalTasks) - Specified by:
start
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
beginTask
- Specified by:
beginTask
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
update
public void update(int completed) - Specified by:
update
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
endTask
public void endTask()- Specified by:
endTask
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
showDuration
public void showDuration(boolean enabled) - Specified by:
showDuration
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-