Record Class HtmlRenderLimits
java.lang.Object
java.lang.Record
dev.archunitjava.report.HtmlRenderLimits
public record HtmlRenderLimits(int maxNodes, int maxEdges, int maxEvidenceItems, int maxTargetCharacters)
extends Record
Explicit bounds for self-contained interactive HTML generation.
-
Constructor Summary
ConstructorsConstructorDescriptionHtmlRenderLimits(int maxNodes, int maxEdges, int maxEvidenceItems, int maxTargetCharacters) Creates an instance of aHtmlRenderLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlRenderLimitsdefaults()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 themaxEvidenceItemsrecord component.intmaxNodes()Returns the value of themaxNodesrecord component.intReturns the value of themaxTargetCharactersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HtmlRenderLimits
public HtmlRenderLimits(int maxNodes, int maxEdges, int maxEvidenceItems, int maxTargetCharacters) Creates an instance of aHtmlRenderLimitsrecord class.- Parameters:
maxNodes- the value for themaxNodesrecord componentmaxEdges- the value for themaxEdgesrecord componentmaxEvidenceItems- the value for themaxEvidenceItemsrecord componentmaxTargetCharacters- the value for themaxTargetCharactersrecord 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
-
maxEvidenceItems
public int maxEvidenceItems()Returns the value of themaxEvidenceItemsrecord component.- Returns:
- the value of the
maxEvidenceItemsrecord component
-
maxTargetCharacters
public int maxTargetCharacters()Returns the value of themaxTargetCharactersrecord component.- Returns:
- the value of the
maxTargetCharactersrecord component
-