Record Class AnalysisEvent
java.lang.Object
java.lang.Record
dev.archunitjava.diagnostics.AnalysisEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetails()Returns a sorted defensive snapshot; callers never receive the stored map.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.message()Returns the value of themessagerecord component.stage()Returns the value of thestagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnalysisEvent
Creates an instance of aAnalysisEventrecord class.- Parameters:
level- the value for thelevelrecord componentstage- the value for thestagerecord componentmessage- the value for themessagerecord componentdetails- the value for thedetailsrecord component
-
-
Method Details
-
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). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
stage
Returns the value of thestagerecord component.- Returns:
- the value of the
stagerecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-