Package com.tngtech.jgiven.report.config
Class ConfigOption
java.lang.Object
com.tngtech.jgiven.report.config.ConfigOption
Defines a configuration for the report which can be from the command line, property or the environment
Instantiated with
ConfigOptionBuilder
For use in AbstractReportConfig.additionalConfigOptions(List)
and the generated object map in AbstractReportConfig(String...)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
boolean
boolean
boolean
void
setCommandLineOption
(CommandLineOption commandLineOption) void
setConverter
(StringConverter converter) void
setDescription
(String description) void
setEnvString
(String envString) void
setHasArgument
(boolean hasArgument) void
setHasDefault
(boolean hasDefault) void
setLongName
(String longName) void
setOptional
(boolean optional) void
setPropertyString
(String propertyString) void
setShortName
(String shortName) void
-
Constructor Details
-
ConfigOption
public ConfigOption()
-
-
Method Details
-
getLongName
-
setLongName
-
getShortName
-
setShortName
-
getCommandLineOption
-
setCommandLineOption
-
getPropertyString
-
setPropertyString
-
getEnvString
-
setEnvString
-
getDescription
-
setDescription
-
isOptional
public boolean isOptional() -
setOptional
public void setOptional(boolean optional) -
isHasArgument
public boolean isHasArgument() -
setHasArgument
public void setHasArgument(boolean hasArgument) -
hasDefault
public boolean hasDefault() -
setHasDefault
public void setHasDefault(boolean hasDefault) -
getValue
-
setValue
-
getConverter
-
setConverter
-
toObject
-
getEnhancedDescription
-