java.lang.Object
org.basepom.mojo.propertyhelper.NumberField
- All Implemented Interfaces:
PropertyElement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<NumberField>
createNumbers
(ValueCache valueCache, NumberDefinition... numberDefinitions) The name of the property element.The value of the property.void
boolean
isExport()
True if the value of this element should be exposed as a maven property.void
setNumberValue
(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:PropertyElement
The name of the property element.- Specified by:
getPropertyName
in interfacePropertyElement
-
getPropertyValue
Description copied from interface:PropertyElement
The value of the property.Optional.empty()
can be returned if the value is not defined.- Specified by:
getPropertyValue
in interfacePropertyElement
-
isExport
public boolean isExport()Description copied from interface:PropertyElement
True if the value of this element should be exposed as a maven property.- Specified by:
isExport
in interfacePropertyElement
-
increment
public void increment() -
getNumberValue
-
setNumberValue
-
toString
-