Uses of Class
com.martiansoftware.jsap.FlaggedOption
Packages that use FlaggedOption
-
Uses of FlaggedOption in com.martiansoftware.jsap
Subclasses of FlaggedOption in com.martiansoftware.jsapModifier and TypeClassDescriptionfinal class
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 FlaggedOptionModifier and TypeMethodDescriptionFlaggedOption.setAllowMultipleDeclarations
(boolean allowMultipleDeclarations) Sets this FlaggedOption to allow or disallow multiple declarations.FlaggedOption.setDefault
(String defaultValue) Sets a default value for this parameter.FlaggedOption.setDefault
(String[] defaultValues) Sets one or more default values for this parameter.FlaggedOption.setList
(boolean isList) Sets whether this FlaggedOption is a list.FlaggedOption.setListSeparator
(char listSeparator) Sets the list separator character for this FlaggedOption.FlaggedOption.setLongFlag
(String longFlag) Sets the long flag for this FlaggedOption.FlaggedOption.setRequired
(boolean required) Sets whether this FlaggedOption is required.FlaggedOption.setShortFlag
(char shortFlag) Sets the short flag for this FlaggedOption.FlaggedOption.setStringParser
(StringParser stringParser) Sets the StringParser to which this FlaggedOption's parse() method should delegate.FlaggedOption.setUsageName
(String usageName) Sets the name that will be displayed when getSyntax() is called