public class BillOfMaterials extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BillOfMaterials.Builder
Builder for a Bill of Materials.
|
Modifier | Constructor and Description |
---|---|
protected |
BillOfMaterials(BillOfMaterials.Builder builder) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Return the artifact ID of the bom.
|
String |
getGroupId()
Return the group ID of the bom.
|
int |
getOrder()
Return the order of this bom relative to other boms.
|
VersionReference |
getVersion()
Return the version reference of the bom.
|
static BillOfMaterials.Builder |
withCoordinates(String groupId,
String artifactId)
Initialize a new BOM
BillOfMaterials.Builder with the specified coordinates. |
protected BillOfMaterials(BillOfMaterials.Builder builder)
public static BillOfMaterials.Builder withCoordinates(String groupId, String artifactId)
BillOfMaterials.Builder
with the specified coordinates.groupId
- the group ID of the bomartifactId
- the artifact ID of the bompublic String getGroupId()
public String getArtifactId()
public VersionReference getVersion()
public int getOrder()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.