org.apache.tools.ant.types
Class Description
- Cloneable
Description is used to provide a project-wide description element
(that is, a description that applies to a buildfile as a whole).
If present, the <description> element is printed out before the
target descriptions.
Description has no attributes, only text. There can only be one
project description per project. A second description element will
overwrite the first.
void | addText(String text)- Adds descriptive text to the project.
|
static String | getDescription(Project project)- Return the descriptions from all the targets of
a project.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
addText
public void addText(String text)
Adds descriptive text to the project.
text - the descriptive text
getDescription
public static String getDescription(Project project)
Return the descriptions from all the targets of
a project.
project - the project to get the descriptions for.
- a string containing the concatenated descriptions of
the targets.