public class AsciidocRenderer extends FileRenderer
The created asciidoc file will have - a document title (level 0), - bold tags - and commits in each line.
Asciidoc reference is http://asciidoctor.org/docs/
Output Example: = Maven GitLog Plugin changelog *maven-gitlog-plugin-1.4.11* 2012-03-17 07:33:55 +0100 Updated maven version in docs (Daniel Flower) ...
Table View example
== Maven GitLog Plugin changelog|=== |Date | Merge |2017-11-23 07:34:02 +0100 |asciidoc also als table view (Marcel Widmer) + |2017-11-22 12:24:41 +0100 |update README (Marcel Widmer) + |2017-11-22 12:19:21 +0100 |Merge Commits Only (Marcel Widmer) +
|=== == *gitlog-maven-plugin-1.13.3* +
|=== |Date | Merge |2016-09-24 08:40:27 +0200 |Bumped release plugin version (Daniel Flower) + |2016-09-24 08:38:49 +0200 |Merge pull request #42 from orevial/asciidoc-support (GitHub) + |2016-09-22 16:33:27 +0200 |Add Asciidoc converter support (Olivier Revial) +
|===
| Modifier and Type | Field and Description |
|---|---|
protected MessageConverter |
messageConverter |
log, writer| Constructor and Description |
|---|
AsciidocRenderer(org.apache.maven.plugin.logging.Log log,
File targetFolder,
String filename,
boolean fullGitMessage,
MessageConverter messageConverter,
String asciidocHeading,
boolean isAsciidocTableView,
String asciidocTableViewHeader1,
String asciidocTableViewHeader2) |
| Modifier and Type | Method and Description |
|---|---|
void |
renderCommit(org.eclipse.jgit.revwalk.RevCommit commit) |
void |
renderFooter() |
void |
renderHeader(String reportTitle) |
void |
renderTag(org.eclipse.jgit.revwalk.RevTag tag) |
close, convertStreamToString, loadResourceToStringprotected final MessageConverter messageConverter
public AsciidocRenderer(org.apache.maven.plugin.logging.Log log,
File targetFolder,
String filename,
boolean fullGitMessage,
MessageConverter messageConverter,
String asciidocHeading,
boolean isAsciidocTableView,
String asciidocTableViewHeader1,
String asciidocTableViewHeader2)
throws IOException
IOExceptionpublic void renderHeader(String reportTitle) throws IOException
IOExceptionpublic void renderTag(org.eclipse.jgit.revwalk.RevTag tag)
throws IOException
IOExceptionpublic void renderCommit(org.eclipse.jgit.revwalk.RevCommit commit)
throws IOException
IOExceptionpublic void renderFooter()
throws IOException
IOExceptionCopyright © 2011–2017. All rights reserved.