public enum PullRequestChangeScope extends Enum<PullRequestChangeScope>
PullRequestChangesRequest.getChangeScope()
Enum Constant and Description |
---|
ALL
No limit is placed on the scope of the changes for the pull request.
|
RANGE
Limits the scope of the changes for the pull request to one or more commits between
PullRequestChangesRequest.getSinceId() and PullRequestChangesRequest.getUntilId() . |
UNREVIEWED
Limits the scope of the changes for the pull request to the changes which are unreviewed for the current user.
|
Modifier and Type | Method and Description |
---|---|
static PullRequestChangeScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullRequestChangeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullRequestChangeScope ALL
public static final PullRequestChangeScope RANGE
PullRequestChangesRequest.getSinceId()
and PullRequestChangesRequest.getUntilId()
.
If either PullRequestChangesRequest.getSinceId()
or PullRequestChangesRequest.getUntilId()
are
not included in the request
, the scope defaults to ALL
changes.public static final PullRequestChangeScope UNREVIEWED
lastReviewedCommit
of the current
user and the tip of the source branch.
If there are no unreviewed changes, the scope defaults to ALL
changes.public static PullRequestChangeScope[] values()
for (PullRequestChangeScope c : PullRequestChangeScope.values()) System.out.println(c);
public static PullRequestChangeScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Atlassian. All rights reserved.