public interface OptionConfiguration
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
getBooleanOption(String name)
Determines the boolean value of the option with the given name. 
 | 
boolean | 
getBooleanOption(String name,
                boolean defaultValue)
Determines the boolean value of the option with the given name. 
 | 
String | 
getOption(String name)
Determines the value of the option with the given name. 
 | 
String | 
getOption(String name,
         String defaultValue)
Determines the boolean value of the option with the given name. 
 | 
Map<String,String> | 
getOptions()  | 
Set<String> | 
getSupportedOptions()  | 
boolean | 
hasOption(String name)
Check whether the given option is provided. 
 | 
boolean hasOption(String name)
name - the name of the option to checkString getOption(String name)
name - the name of the option to checkString getOption(String name, String defaultValue)
defaultValue if
 the option is not set.name - the name of the option to checkdefaultValue - the default value to return if the option is not setboolean getBooleanOption(String name)
name - the name of the option to checkboolean getBooleanOption(String name, boolean defaultValue)
name - the name of the option to checkdefaultValue - the default value to use if the option is not set