org.kohsuke.args4j
Annotation Type Ant


public @interface Ant

Associates a Java field/property with an element/attribute of an Ant task.

Author:
Kohsuke Kawaguchi

Optional Element Summary
 String name
          Name of the attribute or the nested element.
 Ant.Kind type
          Whether this option is mapped to an attribute or a nested element.
 String usage
          The usage of this option.
 

type

public abstract Ant.Kind type
Whether this option is mapped to an attribute or a nested element.

Default:
ATTRIBUTE

name

public abstract String name
Name of the attribute or the nested element.

If left unspecified, the value is computed from Option.name() on the same field/method by removing the leading '-'.

Default:
""

usage

public abstract String usage
The usage of this option.

If left unspecified, the value is taken from Option.usage() on the same field/method.

Default:
""


Copyright © 2003-2006 Kohsuke Kawaguchi. All Rights Reserved.