Package com.tngtech.jgiven.report.config
Class CommandLineOption
- java.lang.Object
-
- com.tngtech.jgiven.report.config.CommandLineOption
-
public class CommandLineOption extends java.lang.Object
Defines a command line interface for use inConfigOption
with automatic help description generation used byConfigOptionParser.printUsageAndExit(List)
Instantiation throughCommandLineOptionBuilder
-
-
Constructor Summary
Constructors Constructor Description CommandLineOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDelimiter()
java.lang.String
getLongFlag()
java.lang.String
getPlaceholder()
java.lang.String
getShortFlag()
boolean
hasArgument()
boolean
hasShortFlag()
void
setArgumentDelimiter(java.lang.String delimiter)
void
setLongPrefix(java.lang.String longPrefix)
void
setPlaceholder(java.lang.String placeholder)
void
setShortPrefix(java.lang.String shortPrefix)
java.lang.String
showFlagInfo()
-
-
-
Method Detail
-
setArgumentDelimiter
public void setArgumentDelimiter(java.lang.String delimiter)
-
getDelimiter
public java.lang.String getDelimiter()
-
hasShortFlag
public boolean hasShortFlag()
-
setShortPrefix
public void setShortPrefix(java.lang.String shortPrefix)
-
setLongPrefix
public void setLongPrefix(java.lang.String longPrefix)
-
hasArgument
public boolean hasArgument()
-
getShortFlag
public java.lang.String getShortFlag()
-
getLongFlag
public java.lang.String getLongFlag()
-
setPlaceholder
public void setPlaceholder(java.lang.String placeholder)
-
getPlaceholder
public java.lang.String getPlaceholder()
-
showFlagInfo
public java.lang.String showFlagInfo()
-
-