public class

PullRequestChangesRequest

extends AbstractPullRequestRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.pull.AbstractPullRequestRequest
     ↳ com.atlassian.bitbucket.pull.PullRequestChangesRequest

Class Overview

Request arguments for streamChanges(PullRequestChangesRequest, ChangeCallback).

Summary

Nested Classes
class PullRequestChangesRequest.Builder  
Public Methods
@Nonnull PullRequestChangeScope getChangeScope()
Specifies the scope of the changes to be streamed.
@Nullable String getSinceId()
Specifies the sinceId to use when retrieving the changes, if the scope is RANGE.
@Nullable String getUntilId()
Specifies the untilId to use when retrieving the changes, if the scope is RANGE.
boolean isWithComments()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
From class java.lang.Object

Public Methods

@Nonnull public PullRequestChangeScope getChangeScope ()

Specifies the scope of the changes to be streamed.

Returns
  • UNREVIEWED to stream unreviewed changes for the for the current user (if they exist); otherwise, ALL to stream all changes (the default)

@Nullable public String getSinceId ()

Specifies the sinceId to use when retrieving the changes, if the scope is RANGE.

If the scope is not RANGE then this value is ignored.

Returns
  • the sinceId to use when retrieving changes

@Nullable public String getUntilId ()

Specifies the untilId to use when retrieving the changes, if the scope is RANGE.

If the scope is not RANGE then this value is ignored.

Returns
  • the untilId to use when retrieving changes

public boolean isWithComments ()