public class GetAllCommitsFromBranchCallback extends RepositoryListenerAwareCallback<String>
Modifier and Type | Field and Description |
---|---|
String |
branch
The integrationBranch name.
|
org.eclipse.jgit.lib.ObjectId |
id
The commit Id.
|
Constructor and Description |
---|
GetAllCommitsFromBranchCallback(org.eclipse.jgit.lib.ObjectId id,
String branch)
Constructor for GetAllCommitsFromBranchCallback
|
Modifier and Type | Method and Description |
---|---|
String |
invoke(org.eclipse.jgit.lib.Repository repo,
hudson.remoting.VirtualChannel channel) |
public final org.eclipse.jgit.lib.ObjectId id
public final String branch
public GetAllCommitsFromBranchCallback(org.eclipse.jgit.lib.ObjectId id, String branch)
id
- The commit Id of the starting pointbranch
- The integrationBranch 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>
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.