Class ModuleDescriptor
java.lang.Object
org.apache.maven.archetype.metadata.AbstractArchetypeDescriptor
org.apache.maven.archetype.metadata.ModuleDescriptor
- All Implemented Interfaces:
java.io.Serializable
Class ModuleDescriptor.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.String
getDir()
Get the module's directory.java.lang.String
getId()
Get the module's artifactId.java.lang.String
getName()
Get the module's name.void
setDir
(java.lang.String dir) Set the module's directory.void
setId
(java.lang.String id) Set the module's artifactId.void
setName
(java.lang.String name) Set the module's name.Methods inherited from class org.apache.maven.archetype.metadata.AbstractArchetypeDescriptor
addFileSet, addModule, getFileSets, getModules, removeFileSet, removeModule, setFileSets, setModules
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
private java.lang.String idThe module's artifactId. -
dir
private java.lang.String dirThe module's directory. -
name
private java.lang.String nameThe module's name.
-
-
Constructor Details
-
ModuleDescriptor
public ModuleDescriptor()
-
-
Method Details
-
getDir
public java.lang.String getDir()Get the module's directory.- Returns:
- String
-
getId
public java.lang.String getId()Get the module's artifactId.- Returns:
- String
-
getName
public java.lang.String getName()Get the module's name.- Returns:
- String
-
setDir
public void setDir(java.lang.String dir) Set the module's directory.- Parameters:
dir
-
-
setId
public void setId(java.lang.String id) Set the module's artifactId.- Parameters:
id
-
-
setName
public void setName(java.lang.String name) Set the module's name.- Parameters:
name
-
-