Record Class PlantUmlAdherenceOptions
java.lang.Object
java.lang.Record
dev.archunitjava.diagram.plantuml.PlantUmlAdherenceOptions
public record PlantUmlAdherenceOptions(boolean requireDeclaredEdgesObserved, UnmappedDiagramDependencyPolicy unmappedDependencyPolicy)
extends Record
Explicit strictness choices for diagram-to-code comparison.
-
Constructor Summary
ConstructorsConstructorDescriptionPlantUmlAdherenceOptions(boolean requireDeclaredEdgesObserved, UnmappedDiagramDependencyPolicy unmappedDependencyPolicy) Creates an instance of aPlantUmlAdherenceOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static PlantUmlAdherenceOptionsbooleanReturns the value of therequireDeclaredEdgesObservedrecord component.static PlantUmlAdherenceOptionsstrict()final StringtoString()Returns a string representation of this record class.Returns the value of theunmappedDependencyPolicyrecord component.
-
Constructor Details
-
PlantUmlAdherenceOptions
public PlantUmlAdherenceOptions(boolean requireDeclaredEdgesObserved, UnmappedDiagramDependencyPolicy unmappedDependencyPolicy) Creates an instance of aPlantUmlAdherenceOptionsrecord class.- Parameters:
requireDeclaredEdgesObserved- the value for therequireDeclaredEdgesObservedrecord componentunmappedDependencyPolicy- the value for theunmappedDependencyPolicyrecord component
-
-
Method Details
-
strict
-
permissive
-
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. -
requireDeclaredEdgesObserved
public boolean requireDeclaredEdgesObserved()Returns the value of therequireDeclaredEdgesObservedrecord component.- Returns:
- the value of the
requireDeclaredEdgesObservedrecord component
-
unmappedDependencyPolicy
Returns the value of theunmappedDependencyPolicyrecord component.- Returns:
- the value of the
unmappedDependencyPolicyrecord component
-