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