Class Review
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.github.client.Review
-
- All Implemented Interfaces:
Serializable
public class Review extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATE_APPROVED
static String
STATE_CHANGES_REQUESTED
static String
STATE_COMMENTED
static String
STATE_DISMISSED
static String
STATE_PENDING
-
Constructor Summary
Constructors Constructor Description Review()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBody()
String
getCommitId()
long
getId()
String
getState()
org.eclipse.egit.github.core.User
getUser()
Review
setBody(String body)
Review
setCommitId(String commitId)
Review
setId(long id)
Review
setState(String state)
Review
setUser(org.eclipse.egit.github.core.User user)
-
-
-
Field Detail
-
STATE_APPROVED
public static final String STATE_APPROVED
- See Also:
- Constant Field Values
-
STATE_PENDING
public static final String STATE_PENDING
- See Also:
- Constant Field Values
-
STATE_CHANGES_REQUESTED
public static final String STATE_CHANGES_REQUESTED
- See Also:
- Constant Field Values
-
STATE_DISMISSED
public static final String STATE_DISMISSED
- See Also:
- Constant Field Values
-
STATE_COMMENTED
public static final String STATE_COMMENTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBody
public String getBody()
-
getCommitId
public String getCommitId()
-
getId
public long getId()
-
setId
public Review setId(long id)
-
getUser
public org.eclipse.egit.github.core.User getUser()
-
setUser
public Review setUser(org.eclipse.egit.github.core.User user)
-
getState
public String getState()
-
setState
public Review setState(String state)
- Parameters:
state
- one of APPROVED, PENDING, CHANGES_REQUESTED, DISMISSED, COMMENTED- Returns:
- this review
throws
IllegalArgumentException
if state is invalid
-
-