Class ArchetypeDescriptor
java.lang.Object
org.apache.maven.archetype.old.descriptor.ArchetypeDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
This indicates the archetype can be a whole project or can be part of another project.private String
private Map<String,
TemplateDescriptor> Map
that associates the items in theList
resources
with their attributes (instances ofTemplateDescriptor
.private Map<String,
TemplateDescriptor> Map
that associates the items in theList
siteResources
with their attributes (instances ofTemplateDescriptor
.private Map<String,
TemplateDescriptor> Map
that associates the items in theList
sources
with their attributes (instances ofTemplateDescriptor
.private Map<String,
TemplateDescriptor> Map
that associates the items in theList
testResources
with their attributes (instances ofTemplateDescriptor
.private Map<String,
TemplateDescriptor> Map
that associates the items in theList
testSources
with their attributes (instances ofTemplateDescriptor
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(String resource) void
addSiteResource
(String siteResource) void
void
addTestResource
(String testResource) void
addTestSource
(String testSource) getId()
getResourceDescriptor
(String resource) getSiteResourceDescriptor
(String siteResource) getSourceDescriptor
(String source) getTestResourceDescriptor
(String testResource) getTestSourceDescriptor
(String testSource) boolean
void
putResourceDescriptor
(String resource, TemplateDescriptor descriptor) void
putSiteResourceDescriptor
(String siteResource, TemplateDescriptor descriptor) void
putSourceDescriptor
(String source, TemplateDescriptor descriptor) void
putTestResourceDescriptor
(String testResource, TemplateDescriptor descriptor) void
putTestSourceDescriptor
(String testSource, TemplateDescriptor descriptor) void
setAllowPartial
(boolean allowPartial) void
-
Field Details
-
id
-
sources
-
testSources
-
resources
-
testResources
-
siteResources
-
sourcesDescriptors
Map
that associates the items in theList
sources
with their attributes (instances ofTemplateDescriptor
. -
testSourcesDescriptors
Map
that associates the items in theList
testSources
with their attributes (instances ofTemplateDescriptor
. -
resourcesDescriptors
Map
that associates the items in theList
resources
with their attributes (instances ofTemplateDescriptor
. -
testResourcesDescriptors
Map
that associates the items in theList
testResources
with their attributes (instances ofTemplateDescriptor
. -
siteResourcesDescriptors
Map
that associates the items in theList
siteResources
with their attributes (instances ofTemplateDescriptor
. -
allowPartial
private boolean allowPartialThis indicates the archetype can be a whole project or can be part of another project. An example is a site archetype where the POM and directory structure may already exist and you simply want to generate the site directory structure.
-
-
Constructor Details
-
ArchetypeDescriptor
public ArchetypeDescriptor()
-
-
Method Details
-
getId
-
setId
-
addSource
-
getSources
-
putSourceDescriptor
-
getSourceDescriptor
-
getSourcesDescriptors
-
addTestSource
-
getTestSources
-
putTestSourceDescriptor
-
getTestSourceDescriptor
-
getTestSourcesDescriptors
-
addResource
-
getResources
-
putResourceDescriptor
-
getResourceDescriptor
-
getReourcesDescriptors
-
addTestResource
-
getTestResources
-
putTestResourceDescriptor
-
getTestResourceDescriptor
-
getTestReourcesDescriptors
-
addSiteResource
-
getSiteResources
-
putSiteResourceDescriptor
-
getSiteResourceDescriptor
-
getSiteReourcesDescriptors
-
isAllowPartial
public boolean isAllowPartial() -
setAllowPartial
public void setAllowPartial(boolean allowPartial)
-