public class MapBasedValueSource extends Object implements FixedValueSource
| Constructor and Description |
|---|
MapBasedValueSource(Map values)
Construct a new value source to wrap the supplied map.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(String expression,
InterpolationState interpolationState)
Lookup the supplied expression as a key in the wrapped Map, and return
its value.
|
public MapBasedValueSource(Map values)
public Object getValue(String expression, InterpolationState interpolationState)
getValue in interface FixedValueSourceCopyright © 2001–2016 Codehaus Plexus. All rights reserved.