Class Field<T,U extends FieldDefinition<T>>

java.lang.Object
org.basepom.mojo.propertyhelper.Field<T,U>
Direct Known Subclasses:
DateField, MacroField, NumberField, StringField, UuidField

public abstract class Field<T,U extends FieldDefinition<T>> extends Object
Describe all the fields.
  • Method Details

    • getFieldName

      public abstract String getFieldName()
      The name of the field.
    • getValue

      public abstract String getValue() throws org.apache.maven.plugin.MojoExecutionException
      The value of the field. Optional.empty() can be returned if the value is not defined.
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • isExposeAsProperty

      public boolean isExposeAsProperty()
      True if the value of this element should be exposed as a maven property.