Package org.kohsuke.github
Enum GHPullRequestReviewState
- All Implemented Interfaces:
Serializable
,Comparable<GHPullRequestReviewState>
Current state of
GHPullRequestReview
.-
Enum Constant Summary
Enum ConstantDescriptionThe approved.The changes requested.The commented.The dismissed.The pending.Deprecated.This was the thing when this API was in preview, but it changed when it became public. -
Method Summary
Modifier and TypeMethodDescriptionaction()
Deprecated.This was an internal method accidentally exposed.static GHPullRequestReviewState
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.
-
Enum Constant Details
-
PENDING
The pending. -
APPROVED
The approved. -
CHANGES_REQUESTED
The changes requested. -
REQUEST_CHANGES
Deprecated.This was the thing when this API was in preview, but it changed when it became public. UseCHANGES_REQUESTED
. Left here for compatibility.The request changes. -
COMMENTED
The commented. -
DISMISSED
The dismissed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
action
Deprecated.This was an internal method accidentally exposed. Left here for compatibility.Action string.- Returns:
- the string
-