public class ResolvePropertyMap extends Object implements GetProperty
| Constructor and Description |
|---|
ResolvePropertyMap(Project project,
GetProperty master,
Collection<PropertyExpander> expanders)
Constructor with a master getproperty and a collection of expanders.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String name)
Returns the value of a property if it is set.
|
void |
resolveAllProperties(Map<String,Object> map,
String prefix,
boolean prefixValues)
The action method - resolves all the properties in a map.
|
public ResolvePropertyMap(Project project, GetProperty master, Collection<PropertyExpander> expanders)
project - the current ant project.master - the master property holder (usually PropertyHelper)expanders - a collection of expanders (usually from PropertyHelper).public Object getProperty(String name)
getProperty in interface GetPropertyname - name of the property.public void resolveAllProperties(Map<String,Object> map, String prefix, boolean prefixValues)
map - the map to resolve properties in.prefix - the prefix the properties defined inside the map
will finally receive - may be null.prefixValues - - whether the prefix will be applied
to properties on the value side of the map as well.