Class BulkCommitsRequest

java.lang.Object
com.atlassian.bitbucket.commit.BulkCommitsRequest

public class BulkCommitsRequest extends Object
Defines a request to retrieve any arbitrary collection of commits that are in any number of repositories.
Since:
5.8
See Also:
  • Method Details

    • getCommits

      @Nonnull public Map<Repository,Set<String>> getCommits()
      Returns:
      the collection of commits to retrieve, mapped by the repository to search in
    • getMaxMessageLength

      @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
    • isIgnoringMissing

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