|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.renderer.CommitLogRenderer
public class CommitLogRenderer
Class for rendering a list of commits as HTML.
Constructor Summary | |
---|---|
CommitLogRenderer(java.util.List commits)
Creates a new instance for the list of commits. |
Method Summary | |
---|---|
static java.lang.String |
getFilename(int page)
Returns the filename for a commit log page. |
int |
getPages()
Returns the number of pages for this renderer. |
java.lang.String |
renderMostRecentCommits(int maxCommits)
Returns HTML code for the commit log without splitting the list into pages. |
java.lang.String |
renderPage(int page)
Returns HTML code for a page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommitLogRenderer(java.util.List commits)
commits
- A list of Commit
objectsMethod Detail |
---|
public java.lang.String renderMostRecentCommits(int maxCommits)
maxCommits
- maximum number of commits for the log; if there
are more, only the most recent will be used
public java.lang.String renderPage(int page)
page
- the page number
public int getPages()
public static java.lang.String getFilename(int page)
page
- specified page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |