Uses of Class
joptsimple.OptionSpecBuilder
Packages that use OptionSpecBuilder
-
Uses of OptionSpecBuilder in joptsimple
Methods in joptsimple that return OptionSpecBuilderModifier and TypeMethodDescriptionTells the parser to recognize the given option.Tells the parser to recognize the given option.OptionDeclarer.acceptsAll
(List<String> options) Tells the parser to recognize the given options, and treat them as synonymous.OptionDeclarer.acceptsAll
(List<String> options, String description) Tells the parser to recognize the given options, and treat them as synonymous.OptionParser.acceptsAll
(List<String> options) OptionParser.acceptsAll
(List<String> options, String description) OptionSpecBuilder.availableIf
(String dependent, String... otherDependents) Informs an option parser that this builder's option is allowed if the given option is present on the command line.OptionSpecBuilder.availableIf
(OptionSpec<?> dependent, OptionSpec<?>... otherDependents) Informs an option parser that this builder's option is allowed if the given option is present on the command line.OptionSpecBuilder.availableUnless
(String dependent, String... otherDependents) Informs an option parser that this builder's option is allowed if the given option is absent on the command line.OptionSpecBuilder.availableUnless
(OptionSpec<?> dependent, OptionSpec<?>... otherDependents) Informs an option parser that this builder's option is allowed if the given option is absent on the command line.OptionSpecBuilder.requiredIf
(String dependent, String... otherDependents) Informs an option parser that this builder's option is required if the given option is present on the command line.OptionSpecBuilder.requiredIf
(OptionSpec<?> dependent, OptionSpec<?>... otherDependents) Informs an option parser that this builder's option is required if the given option is present on the command line.OptionSpecBuilder.requiredUnless
(String dependent, String... otherDependents) Informs an option parser that this builder's option is required if the given option is absent on the command line.OptionSpecBuilder.requiredUnless
(OptionSpec<?> dependent, OptionSpec<?>... otherDependents) Informs an option parser that this builder's option is required if the given option is absent on the command line.Methods in joptsimple with parameters of type OptionSpecBuilderModifier and TypeMethodDescriptionvoid
OptionParser.mutuallyExclusive
(OptionSpecBuilder... specs) Mandates mutual exclusiveness for the options built by the specified builders.