@Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Commit(id:" + commitMetadata.getId()); b.append(", snapshots:" + snapshots.size()); b.append(", author:" + commitMetadata.getAuthor()); b.append(", " + diff.changesSummary()); b.append(")"); return b.toString(); }
public LocalDateTime getCommitDate() { return commitMetadata.getCommitDate(); }
public String getAuthor() { return commitMetadata.getAuthor(); }
public Map<String, String> getProperties() { return commitMetadata.getProperties(); }
/** Monotonically increasing id, e.g. 1.0, 2.0, ... */ public CommitId getId() { return commitMetadata.getId(); }