public class

CompareDiffRequest

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

Class Overview

A diff request to compare two refs or commits.

Summary

Nested Classes
class CompareDiffRequest.Builder  
[Expand]
Inherited Constants
From class com.atlassian.bitbucket.content.AbstractDiffRequest
Public Methods
@Nonnull CompareRef getFromRef()
@Nonnull CompareRef getToRef()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.content.AbstractDiffRequest
From class java.lang.Object

Public Methods

@Nonnull public CompareRef getFromRef ()

Returns
  • the ref serving as the tip of the changes to compare

@Nonnull public CompareRef getToRef ()

Returns
  • the ref serving as the baseline for those changes