|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.MacroDef.TemplateElement
public static class MacroDef.TemplateElement
A nested element for the MacroDef task.
| Constructor Summary | |
|---|---|
MacroDef.TemplateElement()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
equality method. |
java.lang.String |
getDescription()
Gets the description of this element. |
java.lang.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(java.lang.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(java.lang.String name)
Sets the name of this element. |
void |
setOptional(boolean optional)
Sets whether this element is optional. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroDef.TemplateElement()
| Method Detail |
|---|
public void setName(java.lang.String name)
name - the name of the elementpublic java.lang.String getName()
public void setDescription(java.lang.String desc)
desc - Description of the element.public java.lang.String getDescription()
null if
no description is available.public void setOptional(boolean optional)
optional - if true this element may be left out, default
is false.public boolean isOptional()
public void setImplicit(boolean implicit)
implicit - if true this element may be left out, default
is false.public boolean isImplicit()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - an Object value
boolean valuepublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||