Class BillOfMaterials
java.lang.Object
io.spring.initializr.generator.buildsystem.BillOfMaterials
A Bill of Materials (BOM) definition to be declared in a project's build configuration.
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for a Bill of Materials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the artifact ID of the bom.Return the group ID of the bom.intgetOrder()Return the order of this bom relative to other boms.@Nullable VersionReferenceReturn the version reference of the bom.static BillOfMaterials.BuilderwithCoordinates(String groupId, String artifactId) Initialize a new BOMBillOfMaterials.Builderwith the specified coordinates.
-
Constructor Details
-
BillOfMaterials
-
-
Method Details
-
withCoordinates
Initialize a new BOMBillOfMaterials.Builderwith the specified coordinates.- Parameters:
groupId- the group ID of the bomartifactId- the artifact ID of the bom- Returns:
- a new builder
-
getGroupId
-
getArtifactId
-
getVersion
Return the version reference of the bom. Can be a fixed value or refer to a property.- Returns:
- the version reference
-
getOrder
public int getOrder()Return the order of this bom relative to other boms.- Returns:
- the bom order
-