Uses of Class
com.martiansoftware.jsap.FlaggedOption
-
Packages that use FlaggedOption Package Description com.martiansoftware.jsap -
-
Uses of FlaggedOption in com.martiansoftware.jsap
Subclasses of FlaggedOption in com.martiansoftware.jsap Modifier and Type Class Description class
QualifiedSwitch
A QualifiedSwitch is a parameter that has something in common with a Switch, i.e., its presence or absence is significant, but different from a "pure" Switch it can have an additional value (or values) prefixed by a ':' sign that qualifies the Switch - making it behave like a FlaggedOption if a value is specified.Methods in com.martiansoftware.jsap that return FlaggedOption Modifier and Type Method Description FlaggedOption
FlaggedOption. setAllowMultipleDeclarations(boolean allowMultipleDeclarations)
Sets this FlaggedOption to allow or disallow multiple declarations.FlaggedOption
FlaggedOption. setDefault(java.lang.String defaultValue)
Sets a default value for this parameter.FlaggedOption
FlaggedOption. setDefault(java.lang.String[] defaultValues)
Sets one or more default values for this parameter.FlaggedOption
FlaggedOption. setList(boolean isList)
Sets whether this FlaggedOption is a list.FlaggedOption
FlaggedOption. setListSeparator(char listSeparator)
Sets the list separator character for this FlaggedOption.FlaggedOption
FlaggedOption. setLongFlag(java.lang.String longFlag)
Sets the long flag for this FlaggedOption.FlaggedOption
FlaggedOption. setRequired(boolean required)
Sets whether this FlaggedOption is required.FlaggedOption
FlaggedOption. setShortFlag(char shortFlag)
Sets the short flag for this FlaggedOption.FlaggedOption
FlaggedOption. setStringParser(StringParser stringParser)
Sets the StringParser to which this FlaggedOption's parse() method should delegate.FlaggedOption
FlaggedOption. setUsageName(java.lang.String usageName)
Sets the name that will be displayed when getSyntax() is called
-