org.kohsuke.github
Class GHPullRequest

java.lang.Object
  extended by org.kohsuke.github.GHIssue
      extended by org.kohsuke.github.GHPullRequest

public class GHPullRequest
extends GHIssue

A pull request.

Author:
Kohsuke Kawaguchi

Constructor Summary
GHPullRequest()
           
 
Method Summary
 GHCommitPointer getBase()
          This points to where the change should be pulled into, but I'm not really sure what exactly it means.
 Date getClosedAt()
           
 URL getDiffUrl()
          The diff file, like https://github.com/jenkinsci/jenkins/pull/100.diff
 GHCommitPointer getHead()
          The change that should be pulled.
 Date getIssueUpdatedAt()
           
 URL getPatchUrl()
          The URL of the patch file.
 URL getUrl()
          The HTML page of this pull request, like https://github.com/jenkinsci/jenkins/pull/100
 GHUser getUser()
          User who submitted a pull request.
 
Methods inherited from class org.kohsuke.github.GHIssue
close, comment, getBody, getComments, getCreatedAt, getLabels, getNumber, getRepository, getState, getTitle, getUpdatedAt, reopen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHPullRequest

public GHPullRequest()
Method Detail

getPatchUrl

public URL getPatchUrl()
The URL of the patch file. like https://github.com/jenkinsci/jenkins/pull/100.patch


getUser

public GHUser getUser()
User who submitted a pull request.


getBase

public GHCommitPointer getBase()
This points to where the change should be pulled into, but I'm not really sure what exactly it means.


getHead

public GHCommitPointer getHead()
The change that should be pulled. The tip of the commits to merge.


getIssueUpdatedAt

public Date getIssueUpdatedAt()

getUrl

public URL getUrl()
The HTML page of this pull request, like https://github.com/jenkinsci/jenkins/pull/100

Overrides:
getUrl in class GHIssue

getDiffUrl

public URL getDiffUrl()
The diff file, like https://github.com/jenkinsci/jenkins/pull/100.diff


getClosedAt

public Date getClosedAt()


Copyright © 2012. All Rights Reserved.