Class Link.ModuleSpec
java.lang.Object
org.apache.tools.ant.taskdefs.modules.Link.ModuleSpec
- Enclosing class:
- Link
Child element that explicitly names a Java module.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an unconfigured element.ModuleSpec(String name) Creates an element with the given module name.
- 
Method Summary
- 
Constructor Details- 
ModuleSpecpublic ModuleSpec()Creates an unconfigured element.
- 
ModuleSpecCreates an element with the given module name.- Parameters:
- name- module's name
 
 
- 
- 
Method Details- 
getNameAttribute containing name of module this element represents.- Returns:
- name of module
 
- 
setNameSets attribute representing the name of this module this element represents.- Parameters:
- name- module's name
 
- 
validatepublic void validate()Verifies this element's state.- Throws:
- BuildException- if name is not set
 
 
-