antsnest.annotation
Annotation Type AntAttribute


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface AntAttribute

Annotation that defines an attribute of an Ant task/type

Author:
Chris Clohosy

Required Element Summary
 String name
          Gets the name of the attribute
 
Optional Element Summary
 String[] conditions
          Gets the conditions for this attribute
 boolean required
          Gets whether the attribute is required
 

Element Detail

name

public abstract String name
Gets the name of the attribute

Returns:
a String, the name

required

public abstract boolean required
Gets whether the attribute is required

Returns:
a boolean, whether it's required
Default:
false

conditions

public abstract String[] conditions
Gets the conditions for this attribute

Returns:
a String[], the conditions
Default:
""