@Incubating interface CompatibilityCheckDetails<T : Any>
Provides context about attribute compatibility checks, and allows the user to define when an attribute is compatible with another.
- the concrete type of the attribute
Since
3.3
abstract fun compatible(): Unit
Calling this method will indicate that the attributes are compatible. |
|
abstract fun getConsumerValue(): T
The value of the attribute as found on the consumer side. |
|
abstract fun getProducerValue(): T
The value of the attribute as found on the producer side. |
|
abstract fun incompatible(): Unit
Calling this method will indicate that the attributes are incompatible. |