Groovy Documentation

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

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

@Immutable
class Commit

Represents a Git commit.

Authors:
Andrew Oberstar
Since:
0.2.3


Property Summary
java.lang.String abbreviatedId

The first 7 characters of the commit hash.

Person author

The author of the changes in the commit.

Person committer

The committer of the changes in the commit.

java.lang.String fullMessage

The full commit message.

java.lang.String id

The full hash of the commit.

java.lang.String shortMessage

The shortened commit message.

int time

The time the commit was created.

 
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

abbreviatedId

java.lang.String abbreviatedId
The first 7 characters of the commit hash.


author

Person author
The author of the changes in the commit.


committer

Person committer
The committer of the changes in the commit.


fullMessage

java.lang.String fullMessage
The full commit message.


id

java.lang.String id
The full hash of the commit.


shortMessage

java.lang.String shortMessage
The shortened commit message.


time

int time
The time the commit was created.


 

Groovy Documentation