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 ClassesNested 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 thesinceIdto use when retrieving the changes, if thescopeisPullRequestChangeScope.RANGE.Specifies theuntilIdto use when retrieving the changes, if thescopeisPullRequestChangeScope.RANGE.booleanMethods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
getPullRequestId, getRepositoryId
-
Method Details
-
getChangeScope
Specifies the scope of the changes to be streamed.- Returns:
UNREVIEWEDto stream unreviewed changes for the for the current user (if they exist); otherwise,ALLto stream all changes (the default)- Since:
- 4.10
- See Also:
-
getSinceId
Specifies thesinceIdto use when retrieving the changes, if thescopeisPullRequestChangeScope.RANGE.If the
scopeis notPullRequestChangeScope.RANGEthen this value is ignored.- Returns:
- the sinceId to use when retrieving changes
- Since:
- 5.0
-
getUntilId
Specifies theuntilIdto use when retrieving the changes, if thescopeisPullRequestChangeScope.RANGE.If the
scopeis notPullRequestChangeScope.RANGEthen this value is ignored.- Returns:
- the untilId to use when retrieving changes
- Since:
- 5.0
-
isWithComments
public boolean isWithComments()
-