Browse Source

Forgot to document #41058!

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481329 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 18 years ago
parent
commit
fd9e5512f7
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      docs/manual/develop.html

+ 9
- 0
docs/manual/develop.html View File

@@ -171,6 +171,15 @@ is more! If the argument of you setter method is</p>
inner <code>AddAsisRemove</code> class used in <code>setCr</code> inner <code>AddAsisRemove</code> class used in <code>setCr</code>
for an example.</li> for an example.</li>


<li>A (Java 5) enumeration. Ant will call the setter with the enum constant
matching the value given in the build file. This is easier than using
<code>EnumeratedAttribute</code> and can result in cleaner code, but of course
your task will not run on JDK 1.4 or earlier. Note that any override of
<code>toString()</code> in the enumeration is ignored; the build file must use
the declared name (see <code>Enum.getName()</code>). You may wish to use lowercase
enum constant names, in contrast to usual Java style, to look better in build files.
<em>As of Ant 1.7.0.</em></li>

</ul> </ul>


<p>What happens if more than one setter method is present for a given <p>What happens if more than one setter method is present for a given


Loading…
Cancel
Save