Class GitDelta
java.lang.Object
io.jenkins.plugins.forensics.delta.Delta
io.jenkins.plugins.forensics.git.delta.GitDelta
- All Implemented Interfaces:
Serializable
public class GitDelta
extends io.jenkins.plugins.forensics.delta.Delta
A Git specific extension of
Delta
.- Author:
- Florian Orendi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jenkins.plugins.forensics.delta.Delta
addFileChanges, getCurrentCommit, getFileChangesById, getFileChangesMap, getReferenceCommit
-
Constructor Details
-
GitDelta
public GitDelta(String currentCommit, String referenceCommit, Map<String, io.jenkins.plugins.forensics.delta.FileChanges> fileChanges, String diffFile) Constructor for a delta instance which wraps code changes between the two passed commits.- Parameters:
currentCommit
- the currently processed commitreferenceCommit
- the reference commitfileChanges
- the map which contains the changes for modified files, mapped by the file ID.diffFile
- the Diff-File which has been created by Git and wraps up all made changes between two commits.
-
-
Method Details
-
getDiffFile
-
equals
- Overrides:
equals
in classio.jenkins.plugins.forensics.delta.Delta
-
hashCode
public int hashCode()- Overrides:
hashCode
in classio.jenkins.plugins.forensics.delta.Delta
-