Class DeltaRepositoryCallback
java.lang.Object
io.jenkins.plugins.forensics.git.util.AbstractRepositoryCallback<RemoteResultWrapper<io.jenkins.plugins.forensics.delta.Delta>>
io.jenkins.plugins.forensics.git.delta.DeltaRepositoryCallback
- All Implemented Interfaces:
Serializable
,org.jenkinsci.plugins.gitclient.RepositoryCallback<RemoteResultWrapper<io.jenkins.plugins.forensics.delta.Delta>>
public class DeltaRepositoryCallback
extends AbstractRepositoryCallback<RemoteResultWrapper<io.jenkins.plugins.forensics.delta.Delta>>
Repository callback that calculates the code difference - so called 'delta' - between two commits.
- Author:
- Florian Orendi
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaRepositoryCallback
(String currentCommitId, String referenceCommitId) Creates an instance which can be used for executing a Git repository callback. -
Method Summary
Modifier and TypeMethodDescriptionRemoteResultWrapper
<io.jenkins.plugins.forensics.delta.Delta> invoke
(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel) Methods inherited from class io.jenkins.plugins.forensics.git.util.AbstractRepositoryCallback
getAbsolutePath, getWorkTree
-
Constructor Details
-
DeltaRepositoryCallback
Creates an instance which can be used for executing a Git repository callback.- Parameters:
currentCommitId
- The commit ID of the currently processed commitreferenceCommitId
- The commit ID of the reference commit.
-
-
Method Details
-
invoke
public RemoteResultWrapper<io.jenkins.plugins.forensics.delta.Delta> invoke(org.eclipse.jgit.lib.Repository repository, hudson.remoting.VirtualChannel channel) throws IOException - Throws:
IOException
-