Class ArchetypeDescriptor
java.lang.Object
org.apache.maven.archetype.metadata.AbstractArchetypeDescriptor
org.apache.maven.archetype.metadata.ArchetypeDescriptor
- All Implemented Interfaces:
java.io.Serializable
public class ArchetypeDescriptor
extends AbstractArchetypeDescriptor
implements java.io.Serializable
Class ArchetypeDescriptor.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.lang.String
Field modelEncoding.private java.lang.String
Name of the Archetype, that will be displayed to the user when choosing an archetype.private boolean
Is this archetype representing a full Maven project or only parts?private java.util.List<RequiredProperty>
Field requiredProperties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRequiredProperty
(RequiredProperty requiredProperty) Method addRequiredProperty.java.lang.String
Get the modelEncoding field.java.lang.String
getName()
Get name of the Archetype, that will be displayed to the user when choosing an archetype.java.util.List<RequiredProperty>
Method getRequiredProperties.boolean
Get is this archetype representing a full Maven project or only parts?void
removeRequiredProperty
(RequiredProperty requiredProperty) Method removeRequiredProperty.void
setModelEncoding
(java.lang.String modelEncoding) Set the modelEncoding field.void
setName
(java.lang.String name) Set name of the Archetype, that will be displayed to the user when choosing an archetype.void
setPartial
(boolean partial) Set is this archetype representing a full Maven project or only parts?void
setRequiredProperties
(java.util.List<RequiredProperty> requiredProperties) Set list of required properties to generate a project from this archetype.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
-
name
private java.lang.String nameName of the Archetype, that will be displayed to the user when choosing an archetype. -
partial
private boolean partialIs this archetype representing a full Maven project or only parts? -
requiredProperties
Field requiredProperties. -
modelEncoding
private java.lang.String modelEncodingField modelEncoding.
-
-
Constructor Details
-
ArchetypeDescriptor
public ArchetypeDescriptor()
-
-
Method Details
-
addRequiredProperty
Method addRequiredProperty.- Parameters:
requiredProperty
-
-
getModelEncoding
public java.lang.String getModelEncoding()Get the modelEncoding field.- Returns:
- String
-
getName
public java.lang.String getName()Get name of the Archetype, that will be displayed to the user when choosing an archetype.- Returns:
- String
-
getRequiredProperties
Method getRequiredProperties.- Returns:
- List
-
isPartial
public boolean isPartial()Get is this archetype representing a full Maven project or only parts?- Returns:
- boolean
-
removeRequiredProperty
Method removeRequiredProperty.- Parameters:
requiredProperty
-
-
setModelEncoding
public void setModelEncoding(java.lang.String modelEncoding) Set the modelEncoding field.- Parameters:
modelEncoding
-
-
setName
public void setName(java.lang.String name) Set name of the Archetype, that will be displayed to the user when choosing an archetype.- Parameters:
name
-
-
setPartial
public void setPartial(boolean partial) Set is this archetype representing a full Maven project or only parts?- Parameters:
partial
-
-
setRequiredProperties
Set list of required properties to generate a project from this archetype.- Parameters:
requiredProperties
-
-