Package com.mooltiverse.oss.nyx.git
Interface CommitVisitor
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CommitVisitor
This functional interface is used when browsing Git commits and lets consumers receive summary implementation-independent informations about a single commit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
visit(Commit commit)
Visits a single commit and receives all of the commit simplified fields.
-
-
-
Method Detail
-
visit
boolean visit(Commit commit)
Visits a single commit and receives all of the commit simplified fields. Consumer returnstrue
to keep browsing next commits orfalse
to stop.- Parameters:
commit
- the value object holding all data about the commit being visited.- Returns:
true
if to continue browsing to the next commit (if any), orfalse
to stop
-
-