public interface OptionDescriptor
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsArguments()
Does this option accept arguments?
|
Optional<ValueConverter<?>> |
argumentConverter()
Gives an object that can convert raw string values into objects of the
type of this option's argument
|
String |
argumentDescription()
Gives a short description of the option's argument.
|
String |
argumentTypeIndicator()
Gives an indication of the expected type of the option's
argument.
|
List<?> |
defaultValues()
What values will the option take if none are specified on the command line?
|
String |
description()
Description of this option's purpose.
|
boolean |
isRequired()
Is this option required on a command line?
|
List<String> |
options()
A set of options that are mutually synonymous.
|
boolean |
representsNonOptions()
Tells whether this object represents the non-option arguments of a command line.
|
boolean |
requiresArgument()
Does this option require an argument?
|
List<String> options()
String description()
List<?> defaultValues()
boolean isRequired()
boolean acceptsArguments()
boolean requiresArgument()
String argumentDescription()
String argumentTypeIndicator()
boolean representsNonOptions()
true
if this represents non-option argumentsOptional<ValueConverter<?>> argumentConverter()
© Copyright 2004-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License.