T
- The attribute value type.Action<CompatibilityCheckDetails<T>>
@Incubating public interface AttributeCompatibilityRule<T> extends Action<CompatibilityCheckDetails<T>>
The provided CompatibilityCheckDetails
will give access to consumer and producer values and allow implementation
mark the producer value as compatible or not.
Note that the rule will never receive a CompatibilityCheckDetails
that has equal
consumer and producer
values as this check is performed before invoking the rule and assumes compatiblity in that case.
CompatibilityCheckDetails