Record Class Violation
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.testkit.Violation
- Record Components:
rule- the rulelocation- the location of the value, as a Normalized Path, for example$['a'][0]detail- what the model did
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.rule()Returns the value of therulerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Violation
-
-
Method Details
-
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 withObjects::equals(Object,Object). -
rule
-
location
-
detail
-