Class RequiredProperty

java.lang.Object
org.apache.maven.archetype.metadata.RequiredProperty
All Implemented Interfaces:
Serializable

public class RequiredProperty extends Object implements Serializable
Definition of a property required when generating a project from this archetype.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • RequiredProperty

      public RequiredProperty()
  • Method Details

    • getDefaultValue

      public String getDefaultValue()
      Get default value of the property.
      Returns:
      String
    • getKey

      public String getKey()
      Get key value of the property.
      Returns:
      String
    • getValidationRegex

      public String getValidationRegex()
      Get a regular expression used to validate the property.
      Returns:
      String
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Set default value of the property.
      Parameters:
      defaultValue - a defaultValue object.
    • setKey

      public void setKey(String key)
      Set key value of the property.
      Parameters:
      key - a key object.
    • setValidationRegex

      public void setValidationRegex(String validationRegex)
      Set a regular expression used to validate the property.
      Parameters:
      validationRegex - a validationRegex object.