org.apache.maven.archetype.metadata
Class ArchetypeDescriptor

java.lang.Object
  extended by org.apache.maven.archetype.metadata.AbstractArchetypeDescriptor
      extended by org.apache.maven.archetype.metadata.ArchetypeDescriptor
All Implemented Interfaces:
Serializable

public class ArchetypeDescriptor
extends AbstractArchetypeDescriptor
implements Serializable

Class ArchetypeDescriptor.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ArchetypeDescriptor()
           
 
Method Summary
 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.
 
Methods inherited from class org.apache.maven.archetype.metadata.AbstractArchetypeDescriptor
addFileSet, addModule, getFileSets, getModules, removeFileSet, removeModule, setFileSets, setModules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchetypeDescriptor

public ArchetypeDescriptor()
Method Detail

addRequiredProperty

public void addRequiredProperty(RequiredProperty requiredProperty)
Method addRequiredProperty.

Parameters:
requiredProperty -

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getName

public String getName()
Get name of the Archetype, that will be displayed to the user when choosing an archetype.

Returns:
String

getRequiredProperties

public List<RequiredProperty> getRequiredProperties()
Method getRequiredProperties.

Returns:
List

isPartial

public boolean isPartial()
Get is this archetype representing a full Maven project or only parts?

Returns:
boolean

removeRequiredProperty

public void removeRequiredProperty(RequiredProperty requiredProperty)
Method removeRequiredProperty.

Parameters:
requiredProperty -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setName

public void setName(String name)
Set name of the Archetype, that will be displayed to the user when choosing an archetype.

Parameters:
name -

setPartial

public void setPartial(boolean partial)
Set is this archetype representing a full Maven project or only parts?

Parameters:
partial -

setRequiredProperties

public void setRequiredProperties(List<RequiredProperty> requiredProperties)
Set list of required properties to generate a project from this archetype.

Parameters:
requiredProperties -


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.