diff options
author | Peter Reilly <peterreilly@apache.org> | 2004-05-27 14:38:46 +0000 |
---|---|---|
committer | Peter Reilly <peterreilly@apache.org> | 2004-05-27 14:38:46 +0000 |
commit | 278074659bf5724cde17788d210699876f7ffa4e (patch) | |
tree | 6036557aa4a72449a46531075b2020c0484de5e9 /src/main/org/apache/tools/ant/DynamicAttribute.java | |
parent | 5e4408208a34ba760533b1c6738ccb71cdfa03ba (diff) | |
download | ant-278074659bf5724cde17788d210699876f7ffa4e.tar.gz |
add implicit element to macrodef
PR: 25633
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276490 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/main/org/apache/tools/ant/DynamicAttribute.java')
-rw-r--r-- | src/main/org/apache/tools/ant/DynamicAttribute.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/org/apache/tools/ant/DynamicAttribute.java b/src/main/org/apache/tools/ant/DynamicAttribute.java new file mode 100644 index 000000000..b1e33d663 --- /dev/null +++ b/src/main/org/apache/tools/ant/DynamicAttribute.java @@ -0,0 +1,37 @@ +/* + * Copyright 2002-2004 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +package org.apache.tools.ant; + +/** + * Enables a task to control unknown attributes + * + * @since Ant 1.5 + */ +public interface DynamicAttribute { + + /** + * Set a named attribute to the given value + * + * @param name the name of the attribute + * @param value the new value of the attribute + * @throws BuildException when any error occurs + */ + void setDynamicAttribute(String name, String value) + throws BuildException; + +} |