Interface ReleaseNotesSupport.SubprojectCommits
- Enclosing class:
ReleaseNotesSupport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies the commit messages for one subproject's pin advance, so
ReleaseNotesSupport.formatWorkspaceChangelog(Manifest, Manifest, SubprojectCommits)
is unit-testable without a git checkout.-
Method Summary
Modifier and TypeMethodDescriptionmessagesFor(String name, Subproject subproject, String fromSha, String toSha) Return one subproject's commit messages for its pin advance.
-
Method Details
-
messagesFor
Return one subproject's commit messages for its pin advance.- Parameters:
name- the subproject name (workspace.yamlkey)subproject- the subproject as pinned in thetomanifestfromSha- the previous-checkpoint pin, ornullwhen the subproject is new since the previous checkpointtoSha- the current-checkpoint pin- Returns:
- the subproject's commit messages in
fromSha..toSha, newest first (empty when none or unavailable)
-