Class BomContainer
java.lang.Object
io.spring.initializr.generator.buildsystem.BuildItemContainer<String,BillOfMaterials>
io.spring.initializr.generator.buildsystem.BomContainer
A
BuildItemContainer
implementation for boms.- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionBomContainer
(Function<String, BillOfMaterials> itemResolver) Create an instance with the specifieditemResolver
. -
Method Summary
-
Constructor Details
-
BomContainer
Create an instance with the specifieditemResolver
.- Parameters:
itemResolver
- the function that returns aBillOfMaterials
based on an identifier.
-
-
Method Details
-
add
- Parameters:
id
- the id of the bombuilder
- the state of the bom
-