public interface ParsedOptionSpecification extends OptionSpecification
Modifier and Type | Method and Description |
---|---|
boolean |
allowedValue(String value) |
List<String> |
getLongName()
Get the long name of this option.
|
List<String> |
getNames()
All the names of the option
|
String |
getPattern()
The pattern that values must conform to
|
List<String> |
getShortNames()
Get all of the short names of this option.
|
boolean |
hasShortName()
Does this option have a Short Name
|
boolean |
hasValue()
Does the option take any arguments?
|
boolean |
isBoolean() |
boolean |
isHelpOption()
Is this option a request for help
|
void |
reportMissingTo(ValidationErrorBuilder validationErrorBuilder) |
allowedThisManyValues, compareCountToSpecification, exactly, getCanonicalIdentifier, getDefaultValue, getDescription, getMethod, getOptionalityMethod, getType, hasDefaultValue, hasExactCount, isHidden, isMultiValued, isOptional, maximum, maximumArgumentConsumption, minimum
List<String> getShortNames()
boolean hasShortName()
List<String> getLongName()
String getPattern()
boolean allowedValue(String value)
boolean hasValue()
hasValue
in interface OptionSpecification
boolean isHelpOption()
boolean isBoolean()
void reportMissingTo(ValidationErrorBuilder validationErrorBuilder)
Copyright © 2006-2013 lexicalscope. All Rights Reserved.