Uses of Class
ml.options.OptionSet
-
-
Uses of OptionSet in ml.options
Methods in ml.options that return OptionSet Modifier and Type Method Description OptionSet
Options. addSet(java.lang.String name)
Add an option set.OptionSet
Options. addSet(java.lang.String name, int data)
Add an option set.OptionSet
Options. addSet(java.lang.String name, int minData, int maxData)
Add an option set.OptionSet
Options. addSet(java.lang.String name, OptionSet set)
Add an option set by cloning an existing set.OptionSet
Options. getMatchingSet()
Return the (first) matching set.OptionSet
Options. getMatchingSet(boolean ignoreUnmatched, boolean requireDataLast)
Return the (first) matching set.OptionSet
Options. getSet()
This returns the (anonymous) default setOptionSet
Options. getSet(java.lang.String name)
Return an option set - ornull
, if no set with the given name existsOptionSet
OptionSet. setDataText(int index, java.lang.String text)
Set the data text for a data item on the command line.OptionSet
OptionSet. setHelpText(int index, java.lang.String text)
Set the help text for a data item on the command line.Methods in ml.options with parameters of type OptionSet Modifier and Type Method Description static void
ExclusiveConstraint. add(OptionSet optionSet, java.lang.String... keys)
Add a constraint to the given option set using the default multiplicity defined for this setstatic void
ExclusiveConstraint. add(OptionSet optionSet, Options.Multiplicity multiplicity, java.lang.String... keys)
Add a constraint to the given option setOptionSet
Options. addSet(java.lang.String name, OptionSet set)
Add an option set by cloning an existing set.java.lang.String
DefaultHelpPrinter. getCommandLine(OptionSet set, java.lang.String leadingText, boolean lineBreak)
Return a string with the command line syntax for the given option setjava.lang.String
HelpPrinter. getCommandLine(OptionSet set, java.lang.String leadingText, boolean lineBreak)
Return a string with the command line syntax for this option setjava.lang.String
DefaultHelpPrinter. getHelpText(OptionSet set)
Return the help text describing the different options and data argumentsjava.lang.String
HelpPrinter. getHelpText(OptionSet set)
Return the help text describing the different options and data arguments
-