Class ArchetypeDescriptor

  • All Implemented Interfaces:
    java.io.Serializable

    public class ArchetypeDescriptor
    extends AbstractArchetypeDescriptor
    implements java.io.Serializable
    Class ArchetypeDescriptor.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • name

        private java.lang.String name
        Name of the Archetype, that will be displayed to the user when choosing an archetype.
      • partial

        private boolean partial
        Is this archetype representing a full Maven project or only parts?
      • requiredProperties

        private java.util.List<RequiredProperty> requiredProperties
        Field requiredProperties.
      • modelEncoding

        private java.lang.String modelEncoding
        Field modelEncoding.
    • Constructor Detail

      • ArchetypeDescriptor

        public ArchetypeDescriptor()
    • Method Detail

      • addRequiredProperty

        public void addRequiredProperty​(RequiredProperty requiredProperty)
        Method addRequiredProperty.
        Parameters:
        requiredProperty - a requiredProperty object.
      • getModelEncoding

        public java.lang.String getModelEncoding()
        Get the modelEncoding field.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Get name of the Archetype, that will be displayed to the user when choosing an archetype.
        Returns:
        String
      • getRequiredProperties

        public java.util.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 - a requiredProperty object.
      • setModelEncoding

        public void setModelEncoding​(java.lang.String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding - a modelEncoding object.
      • setName

        public void setName​(java.lang.String name)
        Set name of the Archetype, that will be displayed to the user when choosing an archetype.
        Parameters:
        name - a name object.
      • setPartial

        public void setPartial​(boolean partial)
        Set is this archetype representing a full Maven project or only parts?
        Parameters:
        partial - a partial object.
      • setRequiredProperties

        public void setRequiredProperties​(java.util.List<RequiredProperty> requiredProperties)
        Set list of required properties to generate a project from this archetype.
        Parameters:
        requiredProperties - a requiredProperties object.