net.sf.statcvs.pages
Class CommitListFormatter
public class CommitListFormatter
Class for formatting a list of commits as HTML.
$Id: CommitListFormatter.java,v 1.16 2008/04/02 11:22:14 benoitx Exp $- Anja Jentzsch
- Richard Cyganiak (richard@cyganiak.de)
String | render() - Returns HTML code for the commit log without splitting the list
into pages.
|
CommitListFormatter
public CommitListFormatter(ReportConfig config,
List commits,
List tags,
boolean withPermalinks)
Creates a new instance for the list of commits.
commits
- A list of Commit
objects
CommitListFormatter
public CommitListFormatter(ReportConfig config,
List commit,
List tags,
int max,
boolean withPermalinks)
Creates a new instance for the list of commits.
max
- maximum number of commits for the log; if there
are more, only the most recent will be used
render
public String render()
Returns HTML code for the commit log without splitting the list
into pages.
- HTML code for the commit log