Class CompareRequest

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

public class CompareRequest extends Object
A request to compare two refs or commits.
See Also:
  • Method Details

    • getFromRef

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

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