Class CompareDiffStatsSummaryRequest

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.compare.CompareDiffStatsSummaryRequest

public class CompareDiffStatsSummaryRequest extends BuilderSupport
A request to retrieve the diff stats summary between two refs or commits.
Since:
9.1
See Also:
  • Method Details

    • getFromRef

      @Nonnull public CompareRef getFromRef()
      Returns:
      the ref serving as the base of the changes to compare
    • getPaths

      @Nonnull public Set<String> getPaths()
      Returns:
      specific paths to diff
    • getToRef

      @Nonnull public CompareRef getToRef()
      Returns:
      the ref serving as the target of those changes
    • getWhitespace

      @Nonnull public DiffWhitespace getWhitespace()
      Returns:
      the whitespace settings used in the diff