Class CompareDiffRequest

java.lang.Object
com.atlassian.bitbucket.content.AbstractDiffRequest
com.atlassian.bitbucket.compare.CompareDiffRequest

public class CompareDiffRequest extends AbstractDiffRequest
A diff request to compare two refs or commits.
See Also:
  • Method Details

    • getFromRef

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

      @Nonnull public CompareRef getToRef()
      Returns:
      the ref serving as the baseline for those changes