public class


extends Object
   ↳ com.atlassian.bitbucket.commit.BulkCommitsRequest

Class Overview

Defines a request to retrieve any arbitrary collection of commits that are in any number of repositories.


Nested Classes
class BulkCommitsRequest.Builder  
Public Methods
@Nonnull Map<Repository, Set<String>> getCommits()
@Nonnull OptionalInt getMaxMessageLength()
boolean isIgnoringMissing()
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public Map<Repository, Set<String>> getCommits ()

  • the collection of commits to retrieve, mapped by the repository to search in

@Nonnull public OptionalInt getMaxMessageLength ()

  • the max message length to be processed for any of the commits, which may be empty() (the default) to request the full commit message regardless of length or of(0) to omit messages entirely

public boolean isIgnoringMissing ()

  • true if missing requested commits should be ignored; otherwise, false if they should trigger a NoSuchCommitException (the default)