public class GetAllCommitsFromBranchCallback extends RepositoryListenerAwareCallback<String>
| Modifier and Type | Field and Description |
|---|---|
String |
branch
The branch name.
|
org.eclipse.jgit.lib.ObjectId |
id
The commit Id.
|
listener| Constructor and Description |
|---|
GetAllCommitsFromBranchCallback(hudson.model.TaskListener listener,
org.eclipse.jgit.lib.ObjectId id,
String branch)
Constructor for GetAllCommitsFromBranchCallback
|
public final org.eclipse.jgit.lib.ObjectId id
public final String branch
public GetAllCommitsFromBranchCallback(hudson.model.TaskListener listener,
org.eclipse.jgit.lib.ObjectId id,
String branch)
listener - The TaskListenerid - The commit Id of the starting pointbranch - The branch name of the destination.public String invoke(org.eclipse.jgit.lib.Repository repo, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke in interface org.jenkinsci.plugins.gitclient.RepositoryCallback<String>invoke in class RepositoryListenerAwareCallback<String>IOExceptionInterruptedExceptionCopyright © 2004–2016. All rights reserved.