org.apache.tools.ant.taskdefs
Class MacroDef.TemplateElement
java.lang.Object
org.apache.tools.ant.taskdefs.MacroDef.TemplateElement
- MacroDef
public static class MacroDef.TemplateElement
extends java.lang.Object
A nested element for the MacroDef task.
boolean | equals(Object obj) - equality method.
|
String | getDescription() - Gets the description of this element.
|
String | getName() - Gets the name of this element.
|
int | hashCode()
|
boolean | isImplicit() - Gets whether this element is implicit.
|
boolean | isOptional() - Gets whether this element is optional.
|
void | setDescription(String desc) - Sets a textual description of this element,
for build documentation purposes only.
|
void | setImplicit(boolean implicit) - Sets whether this element is implicit.
|
void | setName(String name) - Sets the name of this element.
|
void | setOptional(boolean optional) - Sets whether this element is optional.
|
equals
public boolean equals(Object obj)
equality method.
getDescription
public String getDescription()
Gets the description of this element.
- the description of the element, or
null
if
no description is available.
getName
public String getName()
Gets the name of this element.
hashCode
public int hashCode()
- a hash code value for this object.
isImplicit
public boolean isImplicit()
Gets whether this element is implicit.
isOptional
public boolean isOptional()
Gets whether this element is optional.
setDescription
public void setDescription(String desc)
Sets a textual description of this element,
for build documentation purposes only.
desc
- Description of the element.
setImplicit
public void setImplicit(boolean implicit)
Sets whether this element is implicit.
implicit
- if true this element may be left out, default
is false.
setName
public void setName(String name)
Sets the name of this element.
name
- the name of the element
setOptional
public void setOptional(boolean optional)
Sets whether this element is optional.
optional
- if true this element may be left out, default
is false.