protected static class ConfigurationServiceImpl.PropertyHolder extends Object
Constructor and Description |
---|
PropertyHolder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clearProperties()
Removes all properties from this container.
|
void |
clearProperty(String key)
Removes the property with the given key from this container
|
boolean |
containsKey(String key) |
Properties |
getHeldProperties() |
Iterator |
getKeys() |
String |
getProperty(String key) |
boolean |
isEmpty() |
void |
loadProperties(ConfigurationServiceImpl.PropertySource source)
Copies all name,value pairs from the given PropertySource instance into this container.
|
void |
setHeldProperties(Properties heldProperties) |
void |
setProperty(ConfigurationServiceImpl.PropertySource source,
String key,
String value)
Associates the given value with the given key
|
void |
setProperty(String key,
String value)
Associates the given value with the given key
|
public PropertyHolder()
public boolean isEmpty()
public boolean containsKey(String key)
key
- IllegalArgumentException
- if the given key is nullpublic String getProperty(String key)
key
- IllegalArgumentException
- if the given key is nullpublic void setProperty(String key, String value)
key
- value
- IllegalArgumentException
- if the given key is nullIllegalArgumentException
- if the given value is nullpublic void setProperty(ConfigurationServiceImpl.PropertySource source, String key, String value)
source
- key
- value
- IllegalArgumentException
- if the given key is nullIllegalArgumentException
- if the given value is nullpublic void clearProperty(String key)
key
- IllegalArgumentException
- if the given key is nullpublic void loadProperties(ConfigurationServiceImpl.PropertySource source)
source
- IllegalStateException
- if the source is invalid (improperly initialized)
as an existing propertypublic void clearProperties()
public Iterator getKeys()
public Properties getHeldProperties()
public void setHeldProperties(Properties heldProperties)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.