public class

DiffRequest

extends AbstractDiffRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.content.AbstractDiffRequest
     ↳ com.atlassian.bitbucket.content.DiffRequest

Class Overview

Request arguments for streamDiff(DiffRequest, DiffContentCallback).

Summary

Nested Classes
class DiffRequest.Builder  
[Expand]
Inherited Constants
From class com.atlassian.bitbucket.content.AbstractDiffRequest
Public Methods
@Nonnull Repository getRepository()
@Nullable String getSinceId()
@Nonnull String getUntilId()
boolean isWithAutoSrcPath()
boolean isWithComments()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.content.AbstractDiffRequest
From class java.lang.Object

Public Methods

@Nonnull public Repository getRepository ()

Returns
  • the repository to use

@Nullable public String getSinceId ()

Returns
  • the "since" commit for the diff or null for the untilId's parent

@Nonnull public String getUntilId ()

Returns
  • the "until" commit for the diff

public boolean isWithAutoSrcPath ()

Returns
  • true if attempting to resolve the source path in case of a rename, false otherwise. Only valid for a single path.

public boolean isWithComments ()

Returns
  • true if the comment associated with the diff should be included in the response to this request. false otherwise