Interface CommitInfo
-
@Beta @NonNullByDefault public interface CommitInfo
Base interface for tagging information about a successful commit. This can include various ways of identifying the resulting changeset, timing information or any other piece of data about the commit itself the implementation deems interesting to the client.- Author:
- Robert Varga
-
-
Method Summary
Static Methods Modifier and Type Method Description static CommitInfo
empty()
Return an emptyCommitInfo
.static FluentFuture<CommitInfo>
emptyFluentFuture()
Return an immediately-completed emptyCommitInfo
future.
-
-
-
Method Detail
-
empty
static CommitInfo empty()
Return an emptyCommitInfo
.- Returns:
- An empty
CommitInfo
instance.
-
emptyFluentFuture
static FluentFuture<CommitInfo> emptyFluentFuture()
Return an immediately-completed emptyCommitInfo
future.- Returns:
- An empty
CommitInfo
instance enclosed in a completed future.
-
-