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 Summary
ConstructorDescriptionCreates an unconfigured element.ModuleSpec
(String name) Creates an element with the given module name. -
Method Summary
-
Constructor Details
-
ModuleSpec
public ModuleSpec()Creates an unconfigured element. -
ModuleSpec
Creates an element with the given module name.- Parameters:
name
- module's name
-
-
Method Details
-
getName
Attribute containing name of module this element represents.- Returns:
- name of module
-
setName
Sets attribute representing the name of this module this element represents.- Parameters:
name
- module's name
-
validate
public void validate()Verifies this element's state.- Throws:
BuildException
- if name is not set
-