public class ArchetypeDescriptor extends AbstractArchetypeDescriptor implements Serializable
Constructor and Description |
---|
ArchetypeDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addRequiredProperty(RequiredProperty requiredProperty)
Method addRequiredProperty.
|
String |
getModelEncoding()
Get the modelEncoding field.
|
String |
getName()
Get name of the Archetype, that will be displayed to the
user when choosing an archetype.
|
List<RequiredProperty> |
getRequiredProperties()
Method getRequiredProperties.
|
boolean |
isPartial()
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 |
setName(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(List<RequiredProperty> requiredProperties)
Set list of required properties to generate a project from
this archetype.
|
addFileSet, addModule, getFileSets, getModules, removeFileSet, removeModule, setFileSets, setModules
public void addRequiredProperty(RequiredProperty requiredProperty)
requiredProperty
- public String getModelEncoding()
public String getName()
public List<RequiredProperty> getRequiredProperties()
public boolean isPartial()
public void removeRequiredProperty(RequiredProperty requiredProperty)
requiredProperty
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setName(String name)
name
- public void setPartial(boolean partial)
partial
- public void setRequiredProperties(List<RequiredProperty> requiredProperties)
requiredProperties
- Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.