Uses of Class
io.jenkins.plugins.forensics.miner.CommitDiffItem
Packages that use CommitDiffItem
Package
Description
Provides API classes to obtain commit statistics for files in a repository.
-
Uses of CommitDiffItem in io.jenkins.plugins.forensics.miner
Methods in io.jenkins.plugins.forensics.miner that return CommitDiffItemModifier and TypeMethodDescriptionCommitDiffItem.addLines
(int addedLines) Adds a diff with the specified number of added lines to this commit.CommitDiffItem.deleteLines
(int deletedLines) Adds a diff with the specified number of deleted lines to this commit.CommitDiffItem.setNewPath
(edu.hm.hafner.util.TreeString newPath) Sets the path of the modified file.CommitDiffItem.setOldPath
(edu.hm.hafner.util.TreeString oldPath) Sets the old path of a moved or deleted file.Methods in io.jenkins.plugins.forensics.miner that return types with arguments of type CommitDiffItemModifier and TypeMethodDescriptionFileStatistics.getCommits()
Returns all commits this file was part of.Methods in io.jenkins.plugins.forensics.miner with parameters of type CommitDiffItemModifier and TypeMethodDescriptionvoid
FileStatistics.inspectCommit
(CommitDiffItem additionalCommit) Inspects and stores the specified commit for this file.Method parameters in io.jenkins.plugins.forensics.miner with type arguments of type CommitDiffItemModifier and TypeMethodDescriptionvoid
RepositoryStatistics.addAll
(List<CommitDiffItem> commits) Adds and inspects the specified commits.static int
CommitStatistics.countChanges
(Collection<? extends CommitDiffItem> commits) Counts the number of CHANGE commits.static int
CommitStatistics.countDeletes
(Collection<? extends CommitDiffItem> commits) Counts the number of DELETE commits.static int
CommitStatistics.countMoves
(Collection<? extends CommitDiffItem> commits) Counts the number of RENAME commits.void
FileStatistics.inspectCommits
(Collection<CommitDiffItem> additionalCommits) Inspects and stores the specified commits for this file.static void
CommitStatistics.logCommits
(List<CommitDiffItem> commits, edu.hm.hafner.util.FilteredLog logger) Prints a summary of the specified commits to the specified logger.Constructors in io.jenkins.plugins.forensics.miner with parameters of type CommitDiffItemModifierConstructorDescriptionCommitDiffItem
(CommitDiffItem copy) Creates a new copy of the specifiedCommitDiffItem
.Constructor parameters in io.jenkins.plugins.forensics.miner with type arguments of type CommitDiffItemModifierConstructorDescriptionCommitStatistics
(Collection<? extends CommitDiffItem> commits) Creates a new instance ofCommitStatistics
.