korat.config
Class MyOption
java.lang.Object
org.apache.commons.cli.Option
korat.config.MyOption
- All Implemented Interfaces:
- Cloneable
public class MyOption
- extends Option
Just like org.apache.commons.cli.Option with default value
for the option's argument in addition.
- Author:
- Aleksandar Milicevic
Methods inherited from class org.apache.commons.cli.Option |
addValue, getArgName, getArgs, getDescription, getId, getLongOpt, getOpt, getType, getValue, getValue, getValue, getValues, getValueSeparator, getValuesList, hasArg, hasArgName, hasArgs, hasLongOpt, hasOptionalArg, isRequired, setArgName, setArgs, setLongOpt, setOptionalArg, setRequired, setType, setValueSeparator |
argDefValue
protected String argDefValue
MyOption
public MyOption(String opt,
String longOpt,
String description,
boolean isRequired,
boolean hasArg,
String argName,
String argDefValue)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
clone
public Object clone()
- Overrides:
clone
in class Option
toString
public String toString()
- Overrides:
toString
in class Option
getSwitches
public String getSwitches()