Package org.citrusframework.mvn.plugin
Class CreateDocsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.citrusframework.mvn.plugin.AbstractCitrusMojo
org.citrusframework.mvn.plugin.CreateDocsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Creates test documentation in interactive mode. Either uses mode excel for MS Excel output or
html for HTML web page output.
- Since:
- 2.7.4
- Author:
- Christoph Deppisch
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CreateDocsMojo(ExcelTestDocsGenerator excelTestDocsGenerator, HtmlTestDocsGenerator htmlTestDocsGenerator) Constructor using final fields. -
Method Summary
Modifier and TypeMethodDescriptionvoidSubclass execution logic.Gets the excelTestDocsGenerator.Gets the htmlTestDocsGenerator.voidsetPrompter(org.codehaus.plexus.components.interactivity.Prompter prompter) Sets the prompter.Methods inherited from class org.citrusframework.mvn.plugin.AbstractCitrusMojo
execute, getDocs, getFramework, getTests, getTestSrcDirectory, getType, setDocs, setTests, setTypeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skipCreateDocs
@Parameter(property="citrus.skip.create.docs", defaultValue="false") protected boolean skipCreateDocs
-
-
Constructor Details
-
CreateDocsMojo
public CreateDocsMojo()Default constructor. -
CreateDocsMojo
public CreateDocsMojo(ExcelTestDocsGenerator excelTestDocsGenerator, HtmlTestDocsGenerator htmlTestDocsGenerator) Constructor using final fields.- Parameters:
excelTestDocsGenerator-htmlTestDocsGenerator-
-
-
Method Details
-
doExecute
public void doExecute() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:AbstractCitrusMojoSubclass execution logic.- Specified by:
doExecutein classAbstractCitrusMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getHtmlTestDocsGenerator
Gets the htmlTestDocsGenerator.- Returns:
-
getExcelTestDocsGenerator
Gets the excelTestDocsGenerator.- Returns:
-
setPrompter
public void setPrompter(org.codehaus.plexus.components.interactivity.Prompter prompter) Sets the prompter.- Parameters:
prompter- the prompter to set
-