Record Class BomAnalysis.BomImport
java.lang.Object
java.lang.Record
network.ike.workspace.BomAnalysis.BomImport
- Record Components:
groupId- BOM groupIdartifactId- BOM artifactIdversion- declared version (may contain ${property} refs)isWorkspaceInternal- true if published by a workspace subprojectpublishingSubproject- name of the workspace subproject that publishes this BOM (null if external)orderIndex- position in the import list (0-based, for precedence analysis)
- Enclosing class:
BomAnalysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisWorkspaceInternalrecord component.intReturns the value of theorderIndexrecord component.Returns the value of thepublishingSubprojectrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
BomImport
public BomImport(String groupId, String artifactId, String version, boolean isWorkspaceInternal, String publishingSubproject, int orderIndex) Creates an instance of aBomImportrecord class.- Parameters:
groupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componentversion- the value for theversionrecord componentisWorkspaceInternal- the value for theisWorkspaceInternalrecord componentpublishingSubproject- the value for thepublishingSubprojectrecord componentorderIndex- the value for theorderIndexrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
groupId
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
version
-
isWorkspaceInternal
public boolean isWorkspaceInternal()Returns the value of theisWorkspaceInternalrecord component.- Returns:
- the value of the
isWorkspaceInternalrecord component
-
publishingSubproject
Returns the value of thepublishingSubprojectrecord component.- Returns:
- the value of the
publishingSubprojectrecord component
-
orderIndex
public int orderIndex()Returns the value of theorderIndexrecord component.- Returns:
- the value of the
orderIndexrecord component
-