public class GetCommitCountFromBranchCallback extends RepositoryListenerAwareCallback<Integer>
Modifier and Type | Field and Description |
---|---|
org.eclipse.jgit.lib.ObjectId |
startObjectId |
String |
targetBranchName |
listener
Constructor and Description |
---|
GetCommitCountFromBranchCallback(hudson.model.TaskListener listener,
org.eclipse.jgit.lib.ObjectId startObjectId,
String targetBranchName) |
public final org.eclipse.jgit.lib.ObjectId startObjectId
public final String targetBranchName
public GetCommitCountFromBranchCallback(hudson.model.TaskListener listener, org.eclipse.jgit.lib.ObjectId startObjectId, String targetBranchName)
public Integer invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke
in interface org.jenkinsci.plugins.gitclient.RepositoryCallback<Integer>
invoke
in class RepositoryListenerAwareCallback<Integer>
IOException
InterruptedException
Copyright © 2004–2015. All rights reserved.