Package org.apache.tools.ant
Interface DynamicObjectAttribute
public interface DynamicObjectAttribute
Enables a task to control unknown attributes.
Same as
DynamicAttribute
but authorize arbitrary Object as value
rather than String- Since:
- Ant 1.9
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDynamicAttribute
(String name, Object value) Set a named attribute to the given value
-
Method Details
-
setDynamicAttribute
Set a named attribute to the given value- Parameters:
name
- the name of the attributevalue
- the new value of the attribute- Throws:
BuildException
- when any error occurs
-