Groovy Documentation

org.ajoberstar.gradle.git.api
[Groovy] Class Branch

java.lang.Object
  org.ajoberstar.gradle.git.api.Branch

@Immutable
class Branch

Represents a Git branch.

Authors:
Andrew Oberstar
Since:
0.3.0


Property Summary
Commit commit

Gets the commit the branch point to.

java.lang.String name

Gets the short name of the branch.

java.lang.String refName

Gets the full reference name of the branch.

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

commit

Commit commit
Gets the commit the branch point to.


name

java.lang.String name
Gets the short name of the branch.


refName

java.lang.String refName
Gets the full reference name of the branch.


 

Groovy Documentation