org.jenkinsci.plugins.gitclient
Class ProgressMonitor

java.lang.Object
  extended by org.jenkinsci.plugins.gitclient.ProgressMonitor
All Implemented Interfaces:
org.eclipse.jgit.lib.ProgressMonitor

public class ProgressMonitor
extends Object
implements org.eclipse.jgit.lib.ProgressMonitor

Author:
Nicolas De Loof

Field Summary
 
Fields inherited from interface org.eclipse.jgit.lib.ProgressMonitor
UNKNOWN
 
Constructor Summary
ProgressMonitor(hudson.model.TaskListener listener)
           
 
Method Summary
 void beginTask(String title, int totalWork)
           
 void endTask()
           
 boolean isCancelled()
           
 void start(int totalTasks)
           
 void update(int completed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressMonitor

public ProgressMonitor(hudson.model.TaskListener listener)
Method Detail

start

public void start(int totalTasks)
Specified by:
start in interface org.eclipse.jgit.lib.ProgressMonitor

beginTask

public void beginTask(String title,
                      int totalWork)
Specified by:
beginTask in interface org.eclipse.jgit.lib.ProgressMonitor

update

public void update(int completed)
Specified by:
update in interface org.eclipse.jgit.lib.ProgressMonitor

endTask

public void endTask()
Specified by:
endTask in interface org.eclipse.jgit.lib.ProgressMonitor

isCancelled

public boolean isCancelled()
Specified by:
isCancelled in interface org.eclipse.jgit.lib.ProgressMonitor


Copyright © 2004-2013. All Rights Reserved.