Record Class BomAnalysis.CascadeIssue
java.lang.Object
java.lang.Record
network.ike.workspace.BomAnalysis.CascadeIssue
- Record Components:
subprojectName- the subproject with the issuedependsOn- the upstream subproject it depends onhasVersionProperty- whether a version-property tracks upstreamhasWorkspaceBom- whether a workspace-internal BOM import covers the edge — either it is the upstream's own BOM, or it manages one of the upstream's published artifacts (ike-issues#794)externalBomPins- external BOMs that manage upstream's artifacts
- Enclosing class:
BomAnalysis
public static record BomAnalysis.CascadeIssue(String subprojectName, String dependsOn, boolean hasVersionProperty, boolean hasWorkspaceBom, List<BomAnalysis.BomImport> externalBomPins)
extends Record
A detected cascade issue for a subproject.
-
Constructor Summary
ConstructorsConstructorDescriptionCascadeIssue(String subprojectName, String dependsOn, boolean hasVersionProperty, boolean hasWorkspaceBom, List<BomAnalysis.BomImport> externalBomPins) Creates an instance of aCascadeIssuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if feature-start can cascade versions for this edge.Returns the value of thedependsOnrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalBomPinsrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehasVersionPropertyrecord component.booleanReturns the value of thehasWorkspaceBomrecord component.Returns the value of thesubprojectNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CascadeIssue
public CascadeIssue(String subprojectName, String dependsOn, boolean hasVersionProperty, boolean hasWorkspaceBom, List<BomAnalysis.BomImport> externalBomPins) Creates an instance of aCascadeIssuerecord class.- Parameters:
subprojectName- the value for thesubprojectNamerecord componentdependsOn- the value for thedependsOnrecord componenthasVersionProperty- the value for thehasVersionPropertyrecord componenthasWorkspaceBom- the value for thehasWorkspaceBomrecord componentexternalBomPins- the value for theexternalBomPinsrecord component
-
-
Method Details
-
canCascade
public boolean canCascade()True if feature-start can cascade versions for this edge.- Returns:
- true if a version-property or workspace BOM exists
-
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. -
subprojectName
Returns the value of thesubprojectNamerecord component.- Returns:
- the value of the
subprojectNamerecord component
-
dependsOn
-
hasVersionProperty
public boolean hasVersionProperty()Returns the value of thehasVersionPropertyrecord component.- Returns:
- the value of the
hasVersionPropertyrecord component
-
hasWorkspaceBom
public boolean hasWorkspaceBom()Returns the value of thehasWorkspaceBomrecord component.- Returns:
- the value of the
hasWorkspaceBomrecord component
-
externalBomPins
Returns the value of theexternalBomPinsrecord component.- Returns:
- the value of the
externalBomPinsrecord component
-