Record Class LocalSchemaCompatibility.Result
java.lang.Object
java.lang.Record
io.krabka.streams.schema.LocalSchemaCompatibility.Result
- Record Components:
compatible- whether no incompatibilities were foundincompatibilities- one human-readable message per violation, prefixed with the direction that failed
- Enclosing class:
LocalSchemaCompatibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecompatiblerecord 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 theincompatibilitiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
compatible
public boolean compatible()Returns the value of thecompatiblerecord component.- Returns:
- the value of the
compatiblerecord component
-
incompatibilities
Returns the value of theincompatibilitiesrecord component.- Returns:
- the value of the
incompatibilitiesrecord component
-