Class RequiredProperty
java.lang.Object
org.apache.maven.archetype.metadata.RequiredProperty
- All Implemented Interfaces:
Serializable
Definition of a property required when generating a project from
this archetype.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet default value of the property.getKey()
Get key value of the property.Get a regular expression used to validate the property.void
setDefaultValue
(String defaultValue) Set default value of the property.void
Set key value of the property.void
setValidationRegex
(String validationRegex) Set a regular expression used to validate the property.
-
Constructor Details
-
RequiredProperty
public RequiredProperty()
-
-
Method Details
-
getDefaultValue
Get default value of the property.- Returns:
- String
-
getKey
Get key value of the property.- Returns:
- String
-
getValidationRegex
Get a regular expression used to validate the property.- Returns:
- String
-
setDefaultValue
Set default value of the property.- Parameters:
defaultValue
- a defaultValue object.
-
setKey
Set key value of the property.- Parameters:
key
- a key object.
-
setValidationRegex
Set a regular expression used to validate the property.- Parameters:
validationRegex
- a validationRegex object.
-