Package org.kohsuke.github
Class GHCheckSuite.HeadCommit
- java.lang.Object
-
- org.kohsuke.github.GHCheckSuite.HeadCommit
-
- Enclosing class:
- GHCheckSuite
public static class GHCheckSuite.HeadCommit extends Object
-
-
Constructor Summary
Constructors Constructor Description HeadCommit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitUsergetAuthor()Gets author.GitUsergetCommitter()Gets committer.StringgetId()Gets id of the commit, used byGHCheckSuitewhen aGHEvent.CHECK_SUITEcomesStringgetMessage()Gets message.DategetTimestamp()Gets timestamp of the commit.StringgetTreeId()Gets id of the tree.
-
-
-
Method Detail
-
getId
public String getId()
Gets id of the commit, used byGHCheckSuitewhen aGHEvent.CHECK_SUITEcomes- Returns:
- id of the commit
-
getTreeId
public String getTreeId()
Gets id of the tree.- Returns:
- id of the tree
-
getMessage
public String getMessage()
Gets message.- Returns:
- commit message.
-
getTimestamp
public Date getTimestamp()
Gets timestamp of the commit.- Returns:
- timestamp of the commit
-
getAuthor
public GitUser getAuthor()
Gets author.- Returns:
- the author
-
getCommitter
public GitUser getCommitter()
Gets committer.- Returns:
- the committer
-
-