Record Class CaptureService.CaptureBackendComparisonResult
java.lang.Object
java.lang.Record
com.shaft.mcp.CaptureService.CaptureBackendComparisonResult
- Record Components:
schemaVersion- result schema versionbackends- backend block summarieswarnings- safe warnings
- Enclosing class:
CaptureService
-
Constructor Summary
ConstructorsConstructorDescriptionCaptureBackendComparisonResult(String schemaVersion, List<CaptureService.CaptureBackendBlocks> backends, List<String> warnings) Creates an immutable comparison result. -
Method Summary
Modifier and TypeMethodDescriptionbackends()Returns the value of thebackendsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
CaptureBackendComparisonResult
public CaptureBackendComparisonResult(String schemaVersion, List<CaptureService.CaptureBackendBlocks> backends, List<String> warnings) Creates an immutable comparison result.
-
-
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). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
backends
-
warnings
-