CompatibilityCheckDetails

Provides context about attribute compatibility checks, and allows the user to define when an attribute is compatible with another.

A compatibility check will never be performed when the consumer and producer values are equal.

Since

3.3

Parameters

<T>

the concrete type of the attribute

Functions

Link copied to clipboard
abstract fun compatible()
Calling this method will indicate that the attributes are compatible.
Link copied to clipboard
@Nullable
abstract fun getConsumerValue(): T
The value of the attribute as found on the consumer side.
Link copied to clipboard
@Nullable
abstract fun getProducerValue(): T
The value of the attribute as found on the producer side.
Link copied to clipboard
abstract fun incompatible()
Calling this method will indicate that the attributes are incompatible.