Package org.kohsuke.github
Class GHWorkflowRun.HeadCommit
- java.lang.Object
-
- org.kohsuke.github.GHWorkflowRun.HeadCommit
-
- Enclosing class:
- GHWorkflowRun
public static class GHWorkflowRun.HeadCommit extends Object
The Class HeadCommit.
-
-
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.StringgetMessage()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.- 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
-
-