| Package | Description | 
|---|---|
| joptsimple | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractOptionSpec<V> | 
| class  | ArgumentAcceptingOptionSpec<V>Specification of an option that accepts an argument. | 
| class  | NonOptionArgumentSpec<V>Specification of a command line's non-option arguments. | 
| class  | OptionSpecBuilderAllows callers to specify whether a given option accepts arguments (required or optional). | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<OptionSpec<?>,List<?>> | OptionSet. asMap()Gives all declared options as a map of string to OptionSpec. | 
| Map<String,OptionSpec<?>> | OptionParser. recognizedOptions()Retrieves all options-spec pairings which have been configured for the parser in the same order as declared
 during training. | 
| List<OptionSpec<?>> | OptionSet. specs()Gives the set of options that were detected, in the form of OptionSpecs, in the order in which the
 options were found on the command line. | 
| Modifier and Type | Method and 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(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. 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(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. | 
| boolean | OptionSet. has(OptionSpec<?> option)Tells whether the given option was detected. | 
| boolean | OptionSet. hasArgument(OptionSpec<?> option)Tells whether there are any arguments associated with the given option. | 
| 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(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. 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(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. | 
| <V> V | OptionSet. valueOf(OptionSpec<V> option)Gives the argument associated with the given option. | 
| <V> List<V> | OptionSet. valuesOf(OptionSpec<V> option)Gives any arguments associated with the given option. | 
| Constructor and Description | 
|---|
| OptionException(Collection<? extends OptionSpec<?>> options) | 
| OptionException(Collection<? extends OptionSpec<?>> options,
               Throwable cause) | 
Copyright © 2017. All Rights Reserved.