public class CommitListXml
extends java.lang.Object
Constructor | Description |
---|---|
CommitListXml(java.util.List commits,
java.util.List tags,
boolean withPermalinks) |
Creates a new instance for the list of commits.
|
CommitListXml(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 |
---|---|---|
org.jdom.Element |
renderCommitList(java.util.List commitList) |
public CommitListXml(java.util.List commits, java.util.List tags, boolean withPermalinks)
commits
- A list of Commit
objectspublic CommitListXml(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