Record Class ModelDiagnostics.Report
java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.repository.ModelDiagnostics.Report
- Record Components:
stateIndex- namespace boundary shared by all sampled heads/eventsexactBoundary- whether storage resolved the requested selector exactlygraphSample- true for a depth/node-limited Graph sample; never proves a complete Graph closuremodels- inspected Model contracts
- Enclosing class:
ModelDiagnostics
public static record ModelDiagnostics.Report(long stateIndex, boolean exactBoundary, boolean graphSample, List<ModelDiagnostics.ModelContract> models)
extends Record
A bounded observation, not an application compatibility verdict.
-
Constructor Summary
ConstructorsConstructorDescriptionReport(long stateIndex, boolean exactBoundary, boolean graphSample, List<ModelDiagnostics.ModelContract> models) Copies the bounded Model list. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexactBoundaryrecord component.booleanReturns the value of thegraphSamplerecord component.final inthashCode()Returns a hash code value for this object.models()Returns the value of themodelsrecord component.longReturns the value of thestateIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Report
public Report(long stateIndex, boolean exactBoundary, boolean graphSample, List<ModelDiagnostics.ModelContract> models) Copies the bounded Model list.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
stateIndex
public long stateIndex()Returns the value of thestateIndexrecord component.- Returns:
- the value of the
stateIndexrecord component
-
exactBoundary
public boolean exactBoundary()Returns the value of theexactBoundaryrecord component.- Returns:
- the value of the
exactBoundaryrecord component
-
graphSample
public boolean graphSample()Returns the value of thegraphSamplerecord component.- Returns:
- the value of the
graphSamplerecord component
-
models
-