Class ConfigOption

java.lang.Object
com.tngtech.jgiven.report.config.ConfigOption

public class ConfigOption extends Object
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 Details

    • ConfigOption

      public ConfigOption()
  • Method Details

    • getLongName

      public String getLongName()
    • setLongName

      public void setLongName(String longName)
    • getShortName

      public String getShortName()
    • setShortName

      public void setShortName(String shortName)
    • getCommandLineOption

      public CommandLineOption getCommandLineOption()
    • setCommandLineOption

      public void setCommandLineOption(CommandLineOption commandLineOption)
    • getPropertyString

      public String getPropertyString()
    • setPropertyString

      public void setPropertyString(String propertyString)
    • getEnvString

      public String getEnvString()
    • setEnvString

      public void setEnvString(String envString)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • 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

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • getConverter

      public StringConverter getConverter()
    • setConverter

      public void setConverter(StringConverter converter)
    • toObject

      public Object toObject(String input)
    • getEnhancedDescription

      public String getEnhancedDescription()