public class CommitListFormatter
extends java.lang.Object
Constructor | Description |
---|---|
CommitListFormatter(ReportConfig config,
java.util.List commits,
java.util.List tags,
boolean withPermalinks) |
Creates a new instance for the list of commits.
|
CommitListFormatter(ReportConfig config,
java.util.List commit,
java.util.List tags,
int max,
boolean withPermalinks) |
Creates a new instance for the list of commits.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
render() |
Returns HTML code for the commit log without splitting the list
into pages.
|
public CommitListFormatter(ReportConfig config, java.util.List commits, java.util.List tags, boolean withPermalinks)
commits
- A list of Commit
objectspublic CommitListFormatter(ReportConfig config, java.util.List commit, java.util.List tags, int max, boolean withPermalinks)
commits
- A list of Commit
objectsmax
- maximum number of commits for the log; if there
are more, only the most recent will be used