public class

BulkCommitsRequest

extends Object
java.lang.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.

Summary

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

Public Methods

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

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

@Nonnull public OptionalInt getMaxMessageLength ()

Returns
  • 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 ()

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