Class GitHubPRPullRequest
java.lang.Object
org.jenkinsci.plugins.github.pullrequest.GitHubPRPullRequest
Maintains state about a Pull Request for a particular Jenkins job. This is what understands the current state
of a PR for a particular job. Instances of this class are immutable.
Used from
GitHubPRRepository
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubPRPullRequest
(org.kohsuke.github.GHPullRequest pr) Save only what we need for next comparison -
Method Summary
-
Constructor Details
-
GitHubPRPullRequest
public GitHubPRPullRequest(org.kohsuke.github.GHPullRequest pr) Save only what we need for next comparison
-
-
Method Details
-
getNumber
public int getNumber() -
getHeadSha
-
isMergeable
public boolean isMergeable() -
getBaseRef
-
getHeadRef
-
getUserEmail
-
getTitle
-
getBody
-
getLabels
-
getLastCommentCreatedAt
-
getHtmlUrl
URL to the Github Pull Request. -
getPrUpdatedAt
-
getIssueUpdatedAt
-
getUserLogin
-
getSourceRepoOwner
-
getState
- See Also:
-
state
-
setLabels
as is -
isInBadState
public boolean isInBadState()Indicates that remote PR wasn't fully saved locally during last check. -
getIconFileName
-
toString
-
equals
-
hashCode
public int hashCode()
-