public class MapBasedValueSource extends AbstractValueSource
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)
Lookup the supplied expression as a key in the wrapped Map, and return
its value.
|
addFeedback, addFeedback, clearFeedback, getFeedback
public MapBasedValueSource(Map values)
values
- key,value of mapping.Copyright © 2001–2022 Codehaus Plexus. All rights reserved.