|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationProvider
Implementations of this interface can populate Configuration
s in
some environment-specific way. Implementations must implement the
equals
and hashCode
methods so that equivalent
configurations compare equal.
Method Summary | |
---|---|
void |
addProperties(Map<?,?> props)
Add the given properties to those in this provider, overwriting any existing properties under the same keys. |
Object |
addProperty(String key,
Object value)
Add a single property, overwriting any existing property under the same key. |
Map<String,Object> |
getProperties()
Return properties loaded thus far, or empty map if none. |
void |
setInto(Configuration conf)
Set loaded information into the given configuration. |
Method Detail |
---|
Map<String,Object> getProperties()
void addProperties(Map<?,?> props)
Object addProperty(String key, Object value)
void setInto(Configuration conf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |