Package | Description |
---|---|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Method and Description |
---|---|
default OptionParser.OptionCount |
OptionParser.AvailableOption.getRequiredCount()
Determines how often this option may / must be specified on the command line.
|
static OptionParser.OptionCount |
OptionParser.OptionCount.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionParser.OptionCount[] |
OptionParser.OptionCount.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
OptionParser |
OptionParser.addArgumentParameter(java.lang.String optionName,
OptionParser.OptionCount count,
java.util.function.Consumer<java.lang.String> handler)
Add a parameter that expects a string attribute.
|