public class

TraversalRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.commit.graph.TraversalRequest

Class Overview

A request for a traversal of the commit graph starting with the included commits and excluding any subgraph starting with excluded commits.

Summary

Nested Classes
class TraversalRequest.Builder A builder for a TraversalRequest
Public Methods
@Nonnull Set<String> getExcludes()
@Nonnull Set<String> getIncludes()
@Nonnull Repository getRepository()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public Set<String> getExcludes ()

Returns
  • the commit IDs starting any subgraphs to be excluded from traversal

@Nonnull public Set<String> getIncludes ()

Returns
  • the commit IDs starting the subgraph to be traversed. If empty the whole commit graph will be traversed.

@Nonnull public Repository getRepository ()

Returns
  • the repository on which the commit graph traversal will be performed