Package com.atlassian.bitbucket.scm.bulk
Interface BulkTraversalCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback which can be used during a traverse of the nodes within a commit graph.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onEnd
(BulkTraversalSummary summary) Receive a summary of the traversal when it has completed.onNode
(CommitGraphNode node) Visit a node in the commit graph.default void
onStart
(BulkTraversalContext context)
-
Method Details
-
onEnd
Receive a summary of the traversal when it has completed.- Parameters:
summary
- summary of the traversal
-
onNode
Visit a node in the commit graph. All commits are guaranteed to be visited in topological order: that is children will be visited before parents within the graph.- Parameters:
node
- the current node being traversed- Returns:
- the status of the traversal after visiting the node. If traversal is
complete
this method will not be invoked again.
-
onStart
-