| Constructor and description |
|---|
AntProjectPropertiesDelegate(Project project)Creates a delegate backed by the supplied Ant project. |
AntProjectPropertiesDelegate(Map<? extends String, ?> t)Creates a detached delegate initialized from the supplied map. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
clear()
|
|
public Object |
clone()Returns a shallow copy of the current project properties. |
|
public boolean |
contains(Object value)Indicates whether the delegated property set contains the supplied value. |
|
public boolean |
containsKey(Object key)Indicates whether the delegated property set contains the supplied key. |
|
public boolean |
containsValue(Object value)Indicates whether the delegated property set contains the supplied value. |
|
public Enumeration<Object> |
elements()Returns an enumeration over the current property values. |
|
public Set<Map.Entry<String, Object>> |
entrySet()Returns the delegated entry-set view. |
|
public boolean |
equals(Object o)Compares this delegate with another object using the delegated property map. |
|
public Object |
get(Object key)Returns the current value of the supplied property. |
|
public int |
hashCode()Returns the hash code of the current project properties. |
|
public boolean |
isEmpty()Indicates whether the delegated property set is empty. |
|
public Set<String> |
keySet()Returns the delegated key-set view. |
|
public Enumeration<String> |
keys()Returns an enumeration over the current property names. |
|
public Object |
put(String key, Object value)Stores the supplied property value through the owning Ant project. |
|
public void |
putAll(Map<? extends String, ?> t)Copies every supplied property into the owning Ant project. |
|
public Object |
remove(Object key)
|
|
public int |
size()Returns the number of properties currently exposed by the project. |
|
public String |
toString()Returns the string form of the delegated property map. |
|
public Collection<Object> |
values()Returns the current property values. |
| Methods inherited from class | Name |
|---|---|
class Hashtable |
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getClass, getOrDefault, hashCode, isEmpty, keySet, keys, merge, notify, notifyAll, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, values, wait, wait, wait |
Creates a delegate backed by the supplied Ant project.
project - the project whose properties should be exposedReturns a shallow copy of the current project properties.
Indicates whether the delegated property set contains the supplied value.
value - the value to look uptrue if the value is presentIndicates whether the delegated property set contains the supplied key.
key - the property name to look uptrue if the key is presentIndicates whether the delegated property set contains the supplied value.
value - the value to look uptrue if the value is presentReturns an enumeration over the current property values.
Returns the delegated entry-set view.
Compares this delegate with another object using the delegated property map.
o - the object to compare againsttrue if both views are equalReturns the current value of the supplied property.
key - the property name to resolvenull if absentReturns the hash code of the current project properties.
Indicates whether the delegated property set is empty.
true if the project currently has no propertiesReturns the delegated key-set view.
Returns an enumeration over the current property names.
Stores the supplied property value through the owning Ant project.
key - the property namevalue - the property valuenull if the property was not already presentCopies every supplied property into the owning Ant project.
t - the properties to addReturns the number of properties currently exposed by the project.
Returns the string form of the delegated property map.
Returns the current property values.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.