|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mevenide.properties.resolver.DefaultsResolver
a IPropertyFinder implementation that contains the default values. Is to be used when none of the properties files defines the property. Takes the values partly from ILocationFinder values and partly from the a special prop file that contains the assumed maven defaults.
| Constructor Summary | |
DefaultsResolver(java.io.File projectFile,
java.io.File userFile)
Deprecated. |
|
DefaultsResolver(IQueryContext cont)
|
|
| Method Summary | |
java.util.Set |
getDefaultKeys()
|
java.lang.String |
getValue(java.lang.String key)
Returns the value for the given key, if found. |
void |
reload()
releases any cached values and reloads the properties file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultsResolver(java.io.File projectFile,
java.io.File userFile)
public DefaultsResolver(IQueryContext cont)
| Method Detail |
public java.lang.String getValue(java.lang.String key)
IPropertyFinder
getValue in interface IPropertyFinderpublic void reload()
IPropertyFinder
reload in interface IPropertyFinderpublic java.util.Set getDefaultKeys()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||