public interface

RescopeDetails

com.atlassian.stash.pull.RescopeDetails

Class Overview

Lists the commits added or removed by a pull request rescope.

Summary

Public Methods
@Deprecated @Nonnull List<Changeset> getChangesets()
This method is deprecated. in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Due to the significant number of touchpoints, the deprecated classes and interfaces will be left in for an entire major release cycle, rather than being removed in 4.0. Callers should use getCommits() instead.
@Nonnull List<Commit> getCommits()
int getTotal()

Public Methods

@Deprecated @Nonnull public List<Changeset> getChangesets ()

This method is deprecated.
in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Due to the significant number of touchpoints, the deprecated classes and interfaces will be left in for an entire major release cycle, rather than being removed in 4.0. Callers should use getCommits() instead.

Returns
  • a list of 0 or more commits added or removed by the rescope

@Nonnull public List<Commit> getCommits ()

Returns
  • a list of 0 or more commits added or removed by the rescope

public int getTotal ()