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 booleanvisit(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 returnstrueto keep browsing next commits orfalseto stop.- Parameters:
commit- the value object holding all data about the commit being visited.- Returns:
trueif to continue browsing to the next commit (if any), orfalseto stop
-
-