public interface

Changeset

com.atlassian.bitbucket.commit.Changeset
Known Indirect Subclasses

Class Overview

Describes a set of changes between two commits. If this class is used to describe the changes that have been made in a simple commit with a single parent, fromCommit refers to the parent commit, while toCommit refers to the commit itself. This class can also be used to describe the changes between arbitrary commits.

Summary

Public Methods
@Nullable Page<Change> getChanges()
Retrieves the first page of changes for this changeset.
@Nullable MinimalCommit getFromCommit()
@Nonnull Commit getToCommit()

Public Methods

@Nullable public Page<Change> getChanges ()

Retrieves the first page of changes for this changeset. If it is not the last page, more changes can be retrieved using:

Returns
  • the first page of changes

@Nullable public MinimalCommit getFromCommit ()

Returns
  • the 'from' commit

@Nonnull public Commit getToCommit ()

Returns
  • the 'to' commit