public class BomContainer extends BuildItemContainer<String,BillOfMaterials>
BuildItemContainer implementation for boms.| Constructor and Description |
|---|
BomContainer(Function<String,BillOfMaterials> itemResolver)
Create an instance with the specified
itemResolver. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String id,
BillOfMaterials.Builder builder)
|
public BomContainer(Function<String,BillOfMaterials> itemResolver)
itemResolver.itemResolver - the function that returns a BillOfMaterials based on an
identifier.public void add(String id, BillOfMaterials.Builder builder)
id - the id of the bombuilder - the state of the bomCopyright © 2022 Pivotal Software, Inc.. All rights reserved.