org.kohsuke.github
Class GHBranch

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

public class GHBranch
extends Object

A branch in a repository.

Author:
Yusuke Kokubo

Nested Class Summary
static class GHBranch.Commit
           
 
Constructor Summary
GHBranch()
           
 
Method Summary
 String getName()
           
 GHRepository getOwner()
          Repository that this branch is in.
 GitHub getRoot()
           
 String getSHA1()
          The commit that this branch currently points to.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GHBranch

public GHBranch()
Method Detail

getRoot

public GitHub getRoot()

getOwner

public GHRepository getOwner()
Repository that this branch is in.


getName

public String getName()

getSHA1

public String getSHA1()
The commit that this branch currently points to.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.