Class ArchetypeDescriptor
java.lang.Object
org.apache.maven.archetype.old.descriptor.ArchetypeDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanThis indicates the archetype can be a whole project or can be part of another project.private Stringprivate Map<String, TemplateDescriptor> Mapthat associates the items in theListresourceswith their attributes (instances ofTemplateDescriptor.private Map<String, TemplateDescriptor> Mapthat associates the items in theListsiteResourceswith their attributes (instances ofTemplateDescriptor.private Map<String, TemplateDescriptor> Mapthat associates the items in theListsourceswith their attributes (instances ofTemplateDescriptor.private Map<String, TemplateDescriptor> Mapthat associates the items in theListtestResourceswith their attributes (instances ofTemplateDescriptor.private Map<String, TemplateDescriptor> Mapthat associates the items in theListtestSourceswith their attributes (instances ofTemplateDescriptor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(String resource) voidaddSiteResource(String siteResource) voidvoidaddTestResource(String testResource) voidaddTestSource(String testSource) getId()getResourceDescriptor(String resource) getSiteResourceDescriptor(String siteResource) getSourceDescriptor(String source) getTestResourceDescriptor(String testResource) getTestSourceDescriptor(String testSource) booleanvoidputResourceDescriptor(String resource, TemplateDescriptor descriptor) voidputSiteResourceDescriptor(String siteResource, TemplateDescriptor descriptor) voidputSourceDescriptor(String source, TemplateDescriptor descriptor) voidputTestResourceDescriptor(String testResource, TemplateDescriptor descriptor) voidputTestSourceDescriptor(String testSource, TemplateDescriptor descriptor) voidsetAllowPartial(boolean allowPartial) void
-
Field Details
-
id
-
sources
-
testSources
-
resources
-
testResources
-
siteResources
-
sourcesDescriptors
Mapthat associates the items in theListsourceswith their attributes (instances ofTemplateDescriptor. -
testSourcesDescriptors
Mapthat associates the items in theListtestSourceswith their attributes (instances ofTemplateDescriptor. -
resourcesDescriptors
Mapthat associates the items in theListresourceswith their attributes (instances ofTemplateDescriptor. -
testResourcesDescriptors
Mapthat associates the items in theListtestResourceswith their attributes (instances ofTemplateDescriptor. -
siteResourcesDescriptors
Mapthat associates the items in theListsiteResourceswith 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)
-