public enum PullRequestParticipantStatus extends Enum<PullRequestParticipantStatus>
PullRequestParticipant
Enum Constant and Description |
---|
APPROVED
Indicates that the reviewer has approved the changes in the pull request.
|
NEEDS_WORK
Indicates that the participant has finished reviewing the changes in the pull request.
|
UNAPPROVED
Indicates that the participant has not finished reviewing the changes in the pull request.
|
Modifier and Type | Method and Description |
---|---|
static PullRequestParticipantStatus |
fromId(int id) |
int |
getId() |
int |
getWeight() |
static PullRequestParticipantStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullRequestParticipantStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullRequestParticipantStatus UNAPPROVED
public static final PullRequestParticipantStatus NEEDS_WORK
public static final PullRequestParticipantStatus APPROVED
public static PullRequestParticipantStatus[] values()
for (PullRequestParticipantStatus c : PullRequestParticipantStatus.values()) System.out.println(c);
public static PullRequestParticipantStatus 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 null@Nonnull public static PullRequestParticipantStatus fromId(int id)
public int getId()
public int getWeight()
Copyright © 2019 Atlassian. All rights reserved.