public class PropertiesBasedValueSource extends Object implements FixedValueSource
FixedValueSource implementation that wraps a Properties instance,
 and does a simple lookup of the entire expression string as the parameter for
 Properties.getProperty(String), returning the result as the resolved
 value.| Constructor and Description | 
|---|
| PropertiesBasedValueSource(Properties properties)Wrap the specified  Propertiesobject for use as a value source. | 
public PropertiesBasedValueSource(Properties properties)
Properties object for use as a value source.
 Nulls are allowed.properties - The properties instance to wrap.public Object getValue(String expression, InterpolationState interpolationState)
getValue in interface FixedValueSourceProperties.getProperty(String), using the
 entire expression as the key to lookup. If the wrapped properties instance
 is null, simply return null.Copyright © 2001–2016 Codehaus Plexus. All rights reserved.