org.eclipse.egit.github.core
Class Commit

java.lang.Object
  extended by org.eclipse.egit.github.core.Commit
All Implemented Interfaces:
Serializable

public class Commit
extends Object
implements Serializable

Commit model class.

See Also:
Serialized Form

Constructor Summary
Commit()
           
 
Method Summary
 CommitUser getAuthor()
           
 int getCommentCount()
           
 CommitUser getCommitter()
           
 String getMessage()
           
 List<Commit> getParents()
           
 String getSha()
           
 Tree getTree()
           
 String getUrl()
           
 Commit setAuthor(CommitUser author)
           
 Commit setCommentCount(int commentCount)
           
 Commit setCommitter(CommitUser committer)
           
 Commit setMessage(String message)
           
 Commit setParents(List<Commit> parents)
           
 Commit setSha(String sha)
           
 Commit setTree(Tree tree)
           
 Commit setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commit

public Commit()
Method Detail

getAuthor

public CommitUser getAuthor()
Returns:
author

setAuthor

public Commit setAuthor(CommitUser author)
Parameters:
author -
Returns:
this commit

getCommitter

public CommitUser getCommitter()
Returns:
committer

setCommitter

public Commit setCommitter(CommitUser committer)
Parameters:
committer -
Returns:
this commit

getCommentCount

public int getCommentCount()
Returns:
commentCount

setCommentCount

public Commit setCommentCount(int commentCount)
Parameters:
commentCount -
Returns:
this commit

getParents

public List<Commit> getParents()
Returns:
parents

setParents

public Commit setParents(List<Commit> parents)
Parameters:
parents -
Returns:
this commit

getMessage

public String getMessage()
Returns:
message

setMessage

public Commit setMessage(String message)
Parameters:
message -
Returns:
this commit

getSha

public String getSha()
Returns:
sha

setSha

public Commit setSha(String sha)
Parameters:
sha -
Returns:
this commit

getUrl

public String getUrl()
Returns:
url

setUrl

public Commit setUrl(String url)
Parameters:
url -
Returns:
this commit

getTree

public Tree getTree()
Returns:
tree

setTree

public Commit setTree(Tree tree)
Parameters:
tree -
Returns:
this commit


Copyright © 2012. All Rights Reserved.