public class

CompareRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.compare.CompareRequest

Class Overview

A request to compare two refs or commits.

See Also

Summary

Nested Classes
class CompareRequest.Builder  
Public Methods
@Nonnull CompareRef getFromRef()
@Nonnull CompareRef getToRef()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public CompareRef getFromRef ()

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

@Nonnull public CompareRef getToRef ()

Returns
  • the ref serving as the target of those changes