|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.configuration.AbstractConfigurationContainer.ConfigurationContainer
protected static class AbstractConfigurationContainer.ConfigurationContainer
Like a java.util.Map, but with extra logic for working with ConfigurationProperties. Used to define and hold available properties. Methods return "this" to allow easy chaining.
| Constructor Summary | |
|---|---|
protected |
AbstractConfigurationContainer.ConfigurationContainer(String namespace)
|
| Method Summary | ||
|---|---|---|
ConfigurationProperty |
addProperty(String propertyName,
Class type)
Adds a property definition to this configuration. |
|
ConfigurationProperty |
getProperty(String propertyName)
Returns the ConfigurationProperty object with the given name. |
|
|
getValue(String propertyName,
Class<T> returnType)
Returns the value for the given property. |
|
void |
setValue(String propertyName,
Object value)
Sets the value for the given property. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractConfigurationContainer.ConfigurationContainer(String namespace)
| Method Detail |
|---|
public ConfigurationProperty addProperty(String propertyName,
Class type)
public ConfigurationProperty getProperty(String propertyName)
public <T> T getValue(String propertyName,
Class<T> returnType)
public void setValue(String propertyName,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||