java.lang.Object
org.basepom.mojo.propertyhelper.PropertyField
- All Implemented Interfaces:
PropertyElement
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<PropertyElement>createProperties(org.apache.maven.model.Model model, Map<String, String> values, PropertyGroup propertyGroup) The name of the property element.The value of the property.booleanisExport()True if the value of this element should be exposed as a maven property.
-
Method Details
-
createProperties
public static List<PropertyElement> createProperties(org.apache.maven.model.Model model, Map<String, String> values, PropertyGroup propertyGroup) throws org.apache.maven.plugin.MojoExecutionException, IOException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionIOException
-
getPropertyName
Description copied from interface:PropertyElementThe name of the property element.- Specified by:
getPropertyNamein interfacePropertyElement
-
getPropertyValue
Description copied from interface:PropertyElementThe value of the property.Optional.empty()can be returned if the value is not defined.- Specified by:
getPropertyValuein interfacePropertyElement
-
isExport
public boolean isExport()Description copied from interface:PropertyElementTrue if the value of this element should be exposed as a maven property.- Specified by:
isExportin interfacePropertyElement
-