org.kohsuke.github
Class GHPullRequest

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

public class GHPullRequest
extends Object

A pull request.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class GHPullRequest.State
           
 
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.
 String getBody()
          The description of this pull request.
 Date getClosedAt()
           
 Date getCreatedAt()
           
 URL getDiffUrl()
          The diff file, like https://github.com/jenkinsci/jenkins/pull/100.diff
 GHCommitPointer getHead()
          The change that should be pulled.
 int getNumber()
          ID.
 URL getPatchUrl()
          The URL of the patch file.
 GHRepository getRepository()
          Repository to which the pull request was sent.
 GHPullRequest.State getState()
           
 String getTitle()
           
 Date getUpdatedAt()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHPullRequest

public GHPullRequest()
Method Detail

getBody

public String getBody()
The description of this pull request.


getPatchUrl

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


getNumber

public int getNumber()
ID.


getUser

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


getRepository

public GHRepository getRepository()
Repository to which the pull request was sent.


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.


getUrl

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


getTitle

public String getTitle()

getDiffUrl

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


getClosedAt

public Date getClosedAt()

getCreatedAt

public Date getCreatedAt()

getUpdatedAt

public Date getUpdatedAt()

getState

public GHPullRequest.State getState()


Copyright © 2011. All Rights Reserved.