org.kohsuke.args4j
Enum Ant.Kind
java.lang.Object
java.lang.Enum<Ant.Kind>
org.kohsuke.args4j.Ant.Kind
- All Implemented Interfaces:
- Serializable, Comparable<Ant.Kind>
- Enclosing class:
- Ant
public static enum Ant.Kind
- extends Enum<Ant.Kind>
|
Enum Constant Summary |
ATTRIBUTE
The option is mapped to an attribute of the Ant task. |
ELEMENT
The option is mapped to a nested element of the Ant task. |
|
Method Summary |
static Ant.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Ant.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
ELEMENT
public static final Ant.Kind ELEMENT
- The option is mapped to a nested element of the Ant task.
ATTRIBUTE
public static final Ant.Kind ATTRIBUTE
- The option is mapped to an attribute of the Ant task.
values
public static final Ant.Kind[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Ant.Kind c : Ant.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Ant.Kind valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2003-2006 Kohsuke Kawaguchi. All Rights Reserved.