Package com.atlassian.bamboo.plugins.git
Class BuildLoggerProgressMonitor
- java.lang.Object
-
- com.atlassian.bamboo.plugins.git.BuildLoggerProgressMonitor
-
- All Implemented Interfaces:
org.eclipse.jgit.lib.ProgressMonitor
public class BuildLoggerProgressMonitor extends Object implements org.eclipse.jgit.lib.ProgressMonitor
-
-
Constructor Summary
Constructors Constructor Description BuildLoggerProgressMonitor(BuildLogger buildLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginTask(String title, int totalWork)
void
endTask()
boolean
isCancelled()
void
showDuration(boolean enabled)
void
start(int totalTasks)
void
update(int completed)
-
-
-
Constructor Detail
-
BuildLoggerProgressMonitor
public BuildLoggerProgressMonitor(BuildLogger buildLogger)
-
-
Method Detail
-
start
public void start(int totalTasks)
- Specified by:
start
in interfaceorg.eclipse.jgit.lib.ProgressMonitor
-
beginTask
public void beginTask(String title, int totalWork)
- 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
-
-