Package org.basepom.mojo.propertyhelper
Interface PropertyElement
- All Known Implementing Classes:
DateField
,MacroField
,NumberField
,PropertyField
,StringField
,UuidField
public interface PropertyElement
Defines a property element.
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the property element.The value of the property.boolean
isExport()
True if the value of this element should be exposed as a maven property.
-
Method Details
-
getPropertyName
String getPropertyName()The name of the property element. -
getPropertyValue
Optional<String> getPropertyValue() throws org.apache.maven.plugin.MojoExecutionException, IOExceptionThe value of the property.Optional.empty()
can be returned if the value is not defined.- Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
-
isExport
boolean isExport()True if the value of this element should be exposed as a maven property.
-