public class

ChangesetsRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.commit.ChangesetsRequest

Class Overview

Defines a request to retrieve changesets for a given set of commits. If any of the specified commits have multiple parents, the changeset retrieved will be relative to the first parent.

Summary

Nested Classes
class ChangesetsRequest.Builder  
Public Methods
@Nonnull Iterable<String> getCommitIds()
int getMaxChangesPerCommit()
int getMaxMessageLength()
@Nonnull Repository getRepository()
boolean isIgnoreMissing()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public Iterable<String> getCommitIds ()

Returns
  • a collection containing one or more commit IDs to build changesets for

public int getMaxChangesPerCommit ()

Returns
  • the maximum number of changes to include when building changesets for found commits

public int getMaxMessageLength ()

Returns
  • the maximum size of a commit message will be read, anything larger should be truncated

@Nonnull public Repository getRepository ()

Returns
  • the repository to find the commits in

public boolean isIgnoreMissing ()

Returns
  • whether this request should ignore missing commits, defaulting to false