public class ArgumentCollectionBuilder extends Object implements ParsedArguments
| Constructor and Description |
|---|
ArgumentCollectionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOption(String option)
An option has been discovered
|
void |
addValue(String value)
A value has been discovered
|
OptionCollection |
processArguments(ArgumentValidator argumentProcessor)
Process each option and its values
|
void |
unparsedOptionsFollow()
The remaining options are not parsed
|
public void unparsedOptionsFollow()
ParsedArgumentsunparsedOptionsFollow in interface ParsedArgumentspublic void addValue(String value)
ParsedArgumentsaddValue in interface ParsedArgumentsvalue - the option that has been discoveredpublic void addOption(String option)
ParsedArgumentsaddOption in interface ParsedArgumentsoption - the option that has been recognisedpublic OptionCollection processArguments(ArgumentValidator argumentProcessor)
ParsedArgumentsprocessArguments in interface ParsedArgumentsargumentProcessor - the processor to apply to the argumentsCopyright © 2006-2014 lexicalscope. All Rights Reserved.