Package ch.ifocusit.livingdoc.plugin
Class GherkinMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.ifocusit.livingdoc.plugin.baseMojo.AbstractAsciidoctorMojo
ch.ifocusit.livingdoc.plugin.baseMojo.AbstractDocsGeneratorMojo
ch.ifocusit.livingdoc.plugin.GherkinMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="gherkin",
requiresDependencyResolution=RUNTIME_PLUS_SYSTEM,
defaultPhase=PROCESS_TEST_RESOURCES)
public class GherkinMojo
extends AbstractDocsGeneratorMojo
- Author:
- Julien Boz
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.ifocusit.livingdoc.plugin.baseMojo.AbstractAsciidoctorMojo
AbstractAsciidoctorMojo.Format -
Field Summary
FieldsFields inherited from class ch.ifocusit.livingdoc.plugin.baseMojo.AbstractDocsGeneratorMojo
format, glossaryMapping, onlyAnnotated, packageRoot, repositorySystemFields inherited from class ch.ifocusit.livingdoc.plugin.baseMojo.AbstractAsciidoctorMojo
generatedDocsDirectory, PLANTUML_MACRO_NAME, project, TEMPLATES_OUTPUTFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.ifocusit.livingdoc.plugin.baseMojo.AbstractDocsGeneratorMojo
appendTitle, appendTitle, createAsciiDocBuilder, write, write, writeMethods inherited from class ch.ifocusit.livingdoc.plugin.baseMojo.AbstractAsciidoctorMojo
createAsciidoctor, execute, extractTemplatesFromJar, getOutput, options, writeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
somethingWasGenerated
protected boolean somethingWasGenerated
-
-
Constructor Details
-
GherkinMojo
public GherkinMojo()
-
-
Method Details
-
getOutputFilename
- Specified by:
getOutputFilenamein classAbstractDocsGeneratorMojo- Returns:
- the filename is defined by each mojo
-
getTitle
- Specified by:
getTitlein classAbstractDocsGeneratorMojo- Returns:
- the document title is defined by each mojo
-
executeMojo
public void executeMojo()- Specified by:
executeMojoin classAbstractAsciidoctorMojo
-
gherkinBuilder
- Throws:
IOException
-