|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.configuration.option.MapOptionsConfiguration
public class MapOptionsConfiguration
An option configuration in which the options are provided inside a java map. $Id: MapOptionsConfiguration.java 1331190 2012-04-27 02:41:35Z tfischer $
| Constructor Summary | |
|---|---|
MapOptionsConfiguration(Map<String,String> content)
Constructor. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getOptionMap()
Returns the options map. |
Collection<Option> |
getOptions(ConfigurationProvider configurationProvider)
Returns the contained options. |
protected Collection<Option> |
toOptions(Map<? extends Object,? extends Object> optionsMap)
Creates options from a Map and returns them. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapOptionsConfiguration(Map<String,String> content)
content - the options to set.
NullPointerException - if content is null.| Method Detail |
|---|
public Map<String,String> getOptionMap()
public Collection<Option> getOptions(ConfigurationProvider configurationProvider)
throws ConfigurationException
configurationProvider - the configuration provider to access
configuration files, not null.
ConfigurationException - if an error occurs while reading
the options.public String toString()
toString in class Objectprotected Collection<Option> toOptions(Map<? extends Object,? extends Object> optionsMap)
optionsMap - the map containing the option qualified names as key
and the option value as value. optionsMap and the keys therein
must not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||