public class ResolvePropertyMap extends java.lang.Object implements GetProperty
Constructor and Description |
---|
ResolvePropertyMap(Project project,
GetProperty master,
java.util.Collection expanders)
Constructor with a master getproperty and a collection of expanders.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of a property if it is set.
|
void |
resolveAllProperties(java.util.Map map)
Deprecated.
since Ant 1.8.2, use the three-arg method instead.
|
void |
resolveAllProperties(java.util.Map map,
java.lang.String prefix)
Deprecated.
since Ant 1.8.2, use the three-arg method instead.
|
void |
resolveAllProperties(java.util.Map map,
java.lang.String prefix,
boolean prefixValues)
The action method - resolves all the properties in a map.
|
public ResolvePropertyMap(Project project, GetProperty master, java.util.Collection expanders)
project
- the current ant project.master
- the master property holder (usually PropertyHelper)expanders
- a collection of expanders (usually from PropertyHelper).public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface GetProperty
name
- name of the property.public void resolveAllProperties(java.util.Map map)
map
- the map to resolve properties in.public void resolveAllProperties(java.util.Map map, java.lang.String prefix)
map
- the map to resolve properties in.prefix
- the prefix the properties defined inside the map
will finally receive - may be null.public void resolveAllProperties(java.util.Map map, java.lang.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.