Uses of Class
org.jboss.migration.cli.commonscli.Option
-
Packages that use Option Package Description org.jboss.migration.cli org.jboss.migration.cli.commonscli Commons CLI 1.3 -
-
Uses of Option in org.jboss.migration.cli
Fields in org.jboss.migration.cli declared as Option Modifier and Type Field Description static OptionCommandLineOption. ENVIRONMENTstatic OptionCommandLineOption. HELPstatic OptionCommandLineOption. INTERACTIVEstatic OptionCommandLineOption. NON_INTERACTIVEstatic OptionCommandLineOption. SOURCEstatic OptionCommandLineOption. TARGETMethods in org.jboss.migration.cli with parameters of type Option Modifier and Type Method Description CommandLineOptions.BuilderCommandLineOptions.Builder. deprecatedOption(Option option)CommandLineOptions.BuilderCommandLineOptions.Builder. nonDeprecatedOption(Option option) -
Uses of Option in org.jboss.migration.cli.commonscli
Fields in org.jboss.migration.cli.commonscli declared as Option Modifier and Type Field Description protected OptionDefaultParser. currentOptionThe last option parsed.Fields in org.jboss.migration.cli.commonscli with type parameters of type Option Modifier and Type Field Description protected Comparator<Option>HelpFormatter. optionComparatorComparator used to sort the options when they output in help text Defaults to case-insensitive alphabetical sorting by option keyMethods in org.jboss.migration.cli.commonscli that return Option Modifier and Type Method Description OptionOption.Builder. build()Constructs an Option with the values declared by thisOption.Builder.static OptionOptionBuilder. create()Deprecated.Create an Option using the current settingsstatic OptionOptionBuilder. create(char opt)Deprecated.Create an Option using the current settings and with the specified Optionchar.static OptionOptionBuilder. create(String opt)Deprecated.Create an Option using the current settings and with the specified Optionchar.OptionAlreadySelectedException. getOption()Returns the option that was added to the group and triggered the exception.OptionMissingArgumentException. getOption()Return the option requiring an argument that wasn't provided on the command line.OptionOptions. getOption(String opt)Retrieve theOptionmatching the long or short name specified.Option[]CommandLine. getOptions()Returns an array of the processedOptions.Methods in org.jboss.migration.cli.commonscli that return types with arguments of type Option Modifier and Type Method Description Comparator<Option>HelpFormatter. getOptionComparator()Comparator used to sort the options when they output in help text.Collection<Option>OptionGroup. getOptions()Collection<Option>Options. getOptions()Retrieve a read-only list of options in this setIterator<Option>CommandLine. iterator()Returns an iterator over the Option members of CommandLine.Methods in org.jboss.migration.cli.commonscli with parameters of type Option Modifier and Type Method Description protected voidCommandLine. addOption(Option opt)Add an option to the command line.OptionGroupOptionGroup. addOption(Option option)Add the specifiedOptionto this group.OptionsOptions. addOption(Option opt)Adds an option instanceOptionGroupOptions. getOptionGroup(Option opt)Returns the OptionGroup theoptbelongs to.voidParser. processArgs(Option opt, ListIterator<String> iter)Deprecated.Process the argument values for the specified Optionoptusing the values retrieved from the specified iteratoriter.voidOptionGroup. setSelected(Option option)Set the selected option of this group toname.Method parameters in org.jboss.migration.cli.commonscli with type arguments of type Option Modifier and Type Method Description voidHelpFormatter. setOptionComparator(Comparator<Option> comparator)Set the comparator used to sort the options when they output in help text.Constructors in org.jboss.migration.cli.commonscli with parameters of type Option Constructor Description AlreadySelectedException(OptionGroup group, Option option)Construct a newAlreadySelectedExceptionfor the specified option group.MissingArgumentException(Option option)Construct a newMissingArgumentExceptionwith the specified detail message.
-