org.kohsuke.github
Class GHCommitPointer

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

public class GHCommitPointer
extends Object

Identifies a commit in GHPullRequest.

Author:
Kohsuke Kawaguchi

Constructor Summary
GHCommitPointer()
           
 
Method Summary
 String getLabel()
          String that looks like "USERNAME:REF".
 String getRef()
          Named ref to the commit.
 GHRepository getRepository()
          The repository that contains the commit.
 String getSha()
          SHA1 of the commit.
 GHUser getUser()
          This points to the user who owns the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHCommitPointer

public GHCommitPointer()
Method Detail

getUser

public GHUser getUser()
This points to the user who owns the repository.


getRepository

public GHRepository getRepository()
The repository that contains the commit.


getRef

public String getRef()
Named ref to the commit.


getSha

public String getSha()
SHA1 of the commit.


getLabel

public String getLabel()
String that looks like "USERNAME:REF".



Copyright © 2011. All Rights Reserved.