Class CommandLineOption

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

public class CommandLineOption extends Object
Defines a command line interface for use in ConfigOption with automatic help description generation used by ConfigOptionParser.printUsageAndExit(List) Instantiation through CommandLineOptionBuilder
  • Constructor Details

    • CommandLineOption

      public CommandLineOption()
  • Method Details

    • setArgumentDelimiter

      public void setArgumentDelimiter(String delimiter)
    • getDelimiter

      public String getDelimiter()
    • hasShortFlag

      public boolean hasShortFlag()
    • setShortPrefix

      public void setShortPrefix(String shortPrefix)
    • setLongPrefix

      public void setLongPrefix(String longPrefix)
    • hasArgument

      public boolean hasArgument()
    • getShortFlag

      public String getShortFlag()
    • getLongFlag

      public String getLongFlag()
    • setPlaceholder

      public void setPlaceholder(String placeholder)
    • getPlaceholder

      public String getPlaceholder()
    • showFlagInfo

      public String showFlagInfo()