public enum GHPullRequestReviewState extends Enum<GHPullRequestReviewState>
GHPullRequestReview| Enum Constant and Description |
|---|
APPROVED |
CHANGES_REQUESTED |
COMMENTED |
DISMISSED |
PENDING |
REQUEST_CHANGES
Deprecated.
This was the thing when this API was in preview, but it changed when it became public.
Use
CHANGES_REQUESTED. Left here for compatibility. |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Deprecated.
This was an internal method accidentally exposed.
Left here for compatibility.
|
static GHPullRequestReviewState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GHPullRequestReviewState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GHPullRequestReviewState PENDING
public static final GHPullRequestReviewState APPROVED
public static final GHPullRequestReviewState CHANGES_REQUESTED
public static final GHPullRequestReviewState REQUEST_CHANGES
CHANGES_REQUESTED. Left here for compatibility.public static final GHPullRequestReviewState COMMENTED
public static final GHPullRequestReviewState DISMISSED
public static GHPullRequestReviewState[] values()
for (GHPullRequestReviewState c : GHPullRequestReviewState.values()) System.out.println(c);
public static GHPullRequestReviewState 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 nullpublic String action()
Copyright © 2018. All rights reserved.