Package com.spotify.github.v3.repos
Interface PushCommit
-
- All Known Implementing Classes:
ImmutablePushCommit
@Immutable public interface PushCommit
Push commit object used inPushEvent
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
added()
Files that were added.Author
author()
Commit author.Author
committer()
Commit committer.Boolean
distinct()
Whether this commit is distinct from any that have been pushed before..String
id()
Commit id.String
message()
Commit message.List<String>
modified()
Files that were modified.List<String>
removed()
Files that were removed.ZonedDateTime
timestamp()
Timestamp.String
treeId()
Tree id.URI
url()
Points to the commit API resource..
-
-
-
Method Detail
-
id
@Nullable String id()
Commit id.
-
treeId
@Nullable String treeId()
Tree id.
-
distinct
@Nullable Boolean distinct()
Whether this commit is distinct from any that have been pushed before..
-
message
@Nullable String message()
Commit message.
-
timestamp
@Nullable ZonedDateTime timestamp()
Timestamp.
-
url
@Nullable URI url()
Points to the commit API resource..
-
author
@Nullable Author author()
Commit author.
-
committer
@Nullable Author committer()
Commit committer.
-
-