Record Class ImpulseHealthIndicator.HealthReport
java.lang.Object
java.lang.Record
org.impulsegraph.storage.csr.ImpulseHealthIndicator.HealthReport
- Enclosing class:
ImpulseHealthIndicator
public static record ImpulseHealthIndicator.HealthReport(ImpulseHealthIndicator.Status status, Map<String,Object> details)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionHealthReport(ImpulseHealthIndicator.Status status, Map<String, Object> details) Creates an instance of aHealthReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HealthReport
Creates an instance of aHealthReportrecord class.- Parameters:
status- the value for thestatusrecord componentdetails- the value for thedetailsrecord component
-
-
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). -
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
details
-