Class AsciiDocReportConfig
- java.lang.Object
-
- com.tngtech.jgiven.report.AbstractReportConfig
-
- com.tngtech.jgiven.report.asciidoc.AsciiDocReportConfig
-
public class AsciiDocReportConfig extends AbstractReportConfig
Configuration for the AsciiDoc report. The config map contains all flags that were specified or have a default.
-
-
Constructor Summary
Constructors Constructor Description AsciiDocReportConfig()
AsciiDocReportConfig(java.lang.String... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
additionalConfigOptions(java.util.List<ConfigOption> configOptions)
This is used to create newConfigOption
for theAbstractReportConfig
by appending them to the listvoid
useConfigMap(java.util.Map<java.lang.String,java.lang.Object> configMap)
Every flag should be defined except the optional ones without a default (like --help)-
Methods inherited from class com.tngtech.jgiven.report.AbstractReportConfig
getExcludeEmptyScenarios, getReportModel, getSourceDir, getTargetDir, getTitle, printUsageAndExit, setExcludeEmptyScenarios, setSourceDir, setTargetDir, setTitle
-
-
-
-
Method Detail
-
useConfigMap
public void useConfigMap(java.util.Map<java.lang.String,java.lang.Object> configMap)
Description copied from class:AbstractReportConfig
Every flag should be defined except the optional ones without a default (like --help)- Specified by:
useConfigMap
in classAbstractReportConfig
- Parameters:
configMap
- the config map with a mapping of Strings to castable objects
-
additionalConfigOptions
public void additionalConfigOptions(java.util.List<ConfigOption> configOptions)
Description copied from class:AbstractReportConfig
This is used to create newConfigOption
for theAbstractReportConfig
by appending them to the list- Specified by:
additionalConfigOptions
in classAbstractReportConfig
- Parameters:
configOptions
- config options list, add new options here
-
-