public class ArchetypeDescriptor extends AbstractArchetypeDescriptor implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
modelEncoding
Field modelEncoding.
|
private java.lang.String |
name
Name of the Archetype, that will be displayed to the user
when choosing an archetype.
|
private boolean |
partial
Is this archetype representing a full Maven project or only
parts?
|
private java.util.List<RequiredProperty> |
requiredProperties
Field requiredProperties.
|
Constructor and Description |
---|
ArchetypeDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addRequiredProperty(RequiredProperty requiredProperty)
Method addRequiredProperty.
|
java.lang.String |
getModelEncoding()
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> |
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(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.
|
addFileSet, addModule, getFileSets, getModules, removeFileSet, removeModule, setFileSets, setModules
private java.lang.String name
private boolean partial
private java.util.List<RequiredProperty> requiredProperties
private java.lang.String modelEncoding
public void addRequiredProperty(RequiredProperty requiredProperty)
requiredProperty
- public java.lang.String getModelEncoding()
public java.lang.String getName()
public java.util.List<RequiredProperty> getRequiredProperties()
public boolean isPartial()
public void removeRequiredProperty(RequiredProperty requiredProperty)
requiredProperty
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setName(java.lang.String name)
name
- public void setPartial(boolean partial)
partial
- public void setRequiredProperties(java.util.List<RequiredProperty> requiredProperties)
requiredProperties
-