Verwendungen von Klasse
io.jenkins.plugins.forensics.miner.CommitDiffItem
Package
Beschreibung
Provides API classes to obtain commit statistics for files in a repository.
-
Verwendungen von CommitDiffItem in io.jenkins.plugins.forensics.miner
Modifizierer und TypMethodeBeschreibungCommitDiffItem.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.Modifizierer und TypMethodeBeschreibungFileStatistics.getCommits()
Returns all commits this file was part of.Modifizierer und TypMethodeBeschreibungvoid
FileStatistics.inspectCommit
(CommitDiffItem additionalCommit) Inspects and stores the specified commit for this file.Modifizierer und TypMethodeBeschreibungvoid
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.ModifiziererKonstruktorBeschreibungCommitDiffItem
(CommitDiffItem copy) Creates a new copy of the specifiedCommitDiffItem
.ModifiziererKonstruktorBeschreibungCommitStatistics
(Collection<? extends CommitDiffItem> commits) Creates a new instance ofCommitStatistics
.