Record Class PlantUmlLimits
java.lang.Object
java.lang.Record
dev.archunitjava.diagram.plantuml.PlantUmlLimits
public record PlantUmlLimits(int maxCharacters, int maxLines, int maxLineLength, int maxComponents, int maxEdges)
extends Record
Hard parser bounds applied before and during parsing.
-
Constructor Summary
ConstructorsConstructorDescriptionPlantUmlLimits(int maxCharacters, int maxLines, int maxLineLength, int maxComponents, int maxEdges) Creates an instance of aPlantUmlLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlantUmlLimitsdefaults()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxCharactersrecord component.intReturns the value of themaxComponentsrecord component.intmaxEdges()Returns the value of themaxEdgesrecord component.intReturns the value of themaxLineLengthrecord component.intmaxLines()Returns the value of themaxLinesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlantUmlLimits
public PlantUmlLimits(int maxCharacters, int maxLines, int maxLineLength, int maxComponents, int maxEdges) Creates an instance of aPlantUmlLimitsrecord class.- Parameters:
maxCharacters- the value for themaxCharactersrecord componentmaxLines- the value for themaxLinesrecord componentmaxLineLength- the value for themaxLineLengthrecord componentmaxComponents- the value for themaxComponentsrecord componentmaxEdges- the value for themaxEdgesrecord 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. -
maxCharacters
public int maxCharacters()Returns the value of themaxCharactersrecord component.- Returns:
- the value of the
maxCharactersrecord component
-
maxLines
public int maxLines()Returns the value of themaxLinesrecord component.- Returns:
- the value of the
maxLinesrecord component
-
maxLineLength
public int maxLineLength()Returns the value of themaxLineLengthrecord component.- Returns:
- the value of the
maxLineLengthrecord component
-
maxComponents
public int maxComponents()Returns the value of themaxComponentsrecord component.- Returns:
- the value of the
maxComponentsrecord component
-
maxEdges
public int maxEdges()Returns the value of themaxEdgesrecord component.- Returns:
- the value of the
maxEdgesrecord component
-