Package com.atlassian.bitbucket.pull
Class PullRequestChangesRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestChangesRequest
Request arguments for
PullRequestService.streamChanges(PullRequestChangesRequest, ChangeCallback)
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the scope of the changes to be streamed.Specifies thesinceId
to use when retrieving the changes, if thescope
isPullRequestChangeScope.RANGE
.Specifies theuntilId
to use when retrieving the changes, if thescope
isPullRequestChangeScope.RANGE
.boolean
Methods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
getPullRequestId, getRepositoryId
-
Method Details
-
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)- Since:
- 4.10
- See Also:
-
getSinceId
Specifies thesinceId
to use when retrieving the changes, if thescope
isPullRequestChangeScope.RANGE
.If the
scope
is notPullRequestChangeScope.RANGE
then this value is ignored.- Returns:
- the sinceId to use when retrieving changes
- Since:
- 5.0
-
getUntilId
Specifies theuntilId
to use when retrieving the changes, if thescope
isPullRequestChangeScope.RANGE
.If the
scope
is notPullRequestChangeScope.RANGE
then this value is ignored.- Returns:
- the untilId to use when retrieving changes
- Since:
- 5.0
-
isWithComments
public boolean isWithComments()
-