java.lang.Object
org.basepom.mojo.propertyhelper.NumberField
- All Implemented Interfaces:
PropertyElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<NumberField>createNumbers(ValueCache valueCache, NumberDefinition... numberDefinitions) The name of the property element.The value of the property.voidbooleanisExport()True if the value of this element should be exposed as a maven property.voidsetNumberValue(Long value) toString()
-
Constructor Details
-
NumberField
-
-
Method Details
-
createNumbers
public static List<NumberField> createNumbers(ValueCache valueCache, NumberDefinition... numberDefinitions) throws IOException - Throws:
IOException
-
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
-
increment
public void increment() -
getNumberValue
-
setNumberValue
-
toString
-