Record Class GraphSnapshotLimits
java.lang.Object
java.lang.Record
dev.archunitjava.report.GraphSnapshotLimits
public record GraphSnapshotLimits(int maxNodes, int maxEdges, int maxEvidencePerEdge)
extends Record
Deterministic output bounds; omitted counts remain in snapshot metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionGraphSnapshotLimits(int maxNodes, int maxEdges, int maxEvidencePerEdge) Creates an instance of aGraphSnapshotLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphSnapshotLimitsdefaults()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaxEdges()Returns the value of themaxEdgesrecord component.intReturns the value of themaxEvidencePerEdgerecord component.intmaxNodes()Returns the value of themaxNodesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphSnapshotLimits
public GraphSnapshotLimits(int maxNodes, int maxEdges, int maxEvidencePerEdge) Creates an instance of aGraphSnapshotLimitsrecord class.- Parameters:
maxNodes- the value for themaxNodesrecord componentmaxEdges- the value for themaxEdgesrecord componentmaxEvidencePerEdge- the value for themaxEvidencePerEdgerecord component
-
-
Method Details
-
defaults
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
maxNodes
public int maxNodes()Returns the value of themaxNodesrecord component.- Returns:
- the value of the
maxNodesrecord component
-
maxEdges
public int maxEdges()Returns the value of themaxEdgesrecord component.- Returns:
- the value of the
maxEdgesrecord component
-
maxEvidencePerEdge
public int maxEvidencePerEdge()Returns the value of themaxEvidencePerEdgerecord component.- Returns:
- the value of the
maxEvidencePerEdgerecord component
-