public class PullRequestChangesRequest extends AbstractPullRequestRequest
PullRequestService.streamChanges(PullRequestChangesRequest, ChangeCallback).| Modifier and Type | Class and Description |
|---|---|
static class |
PullRequestChangesRequest.Builder |
AbstractPullRequestRequest.AbstractBuilder<T extends AbstractPullRequestRequest.AbstractBuilder<T>>| Modifier and Type | Method and Description |
|---|---|
PullRequestChangeScope |
getChangeScope()
Specifies the scope of the changes to be streamed.
|
String |
getSinceId()
Specifies the
sinceId to use when retrieving the changes, if the scope is
PullRequestChangeScope.RANGE. |
String |
getUntilId()
Specifies the
untilId to use when retrieving the changes, if the scope is
PullRequestChangeScope.RANGE. |
boolean |
isWithComments() |
getPullRequestId, getRepositoryId@Nonnull public PullRequestChangeScope getChangeScope()
UNREVIEWED to stream unreviewed changes for the
for the current user (if they exist); otherwise, ALL to
stream all changes (the default)PullRequestChangeScope@Nullable public String getSinceId()
sinceId to use when retrieving the changes, if the scope is
PullRequestChangeScope.RANGE.
If the scope is not PullRequestChangeScope.RANGE then
this value is ignored.
@Nullable public String getUntilId()
untilId to use when retrieving the changes, if the scope is
PullRequestChangeScope.RANGE.
If the scope is not PullRequestChangeScope.RANGE then
this value is ignored.
public boolean isWithComments()
Copyright © 2019 Atlassian. All rights reserved.