Package | Description |
---|---|
joptsimple |
Modifier and Type | Method and Description |
---|---|
OptionSpecBuilder |
OptionDeclarer.accepts(String option)
Tells the parser to recognize the given option.
|
OptionSpecBuilder |
OptionParser.accepts(String option) |
OptionSpecBuilder |
OptionDeclarer.accepts(String option,
String description)
Tells the parser to recognize the given option.
|
OptionSpecBuilder |
OptionParser.accepts(String option,
String description) |
OptionSpecBuilder |
OptionDeclarer.acceptsAll(List<String> options)
Tells the parser to recognize the given options, and treat them as synonymous.
|
OptionSpecBuilder |
OptionParser.acceptsAll(List<String> options) |
OptionSpecBuilder |
OptionDeclarer.acceptsAll(List<String> options,
String description)
Tells the parser to recognize the given options, and treat them as synonymous.
|
OptionSpecBuilder |
OptionParser.acceptsAll(List<String> options,
String description) |
OptionSpecBuilder |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
OptionSpecBuilder |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
OptionParser.mutuallyExclusive(OptionSpecBuilder... specs)
Mandates mutual exclusiveness for the options built by the specified builders.
|
© Copyright 2004-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License.