Package org.gradle.api.attributes
Interface CompatibilityCheckDetails<T>
- Type Parameters:
T
- the concrete type of the attribute
Provides context about attribute compatibility checks, and allows the user to define
when an attribute is compatible with another.
- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Calling this method will indicate that the attributes are compatible.The value of the attribute as found on the consumer side.The value of the attribute as found on the producer side.void
Calling this method will indicate that the attributes are incompatible.
-
Method Details
-
getConsumerValue
The value of the attribute as found on the consumer side.- Returns:
- the value from the consumer
-
getProducerValue
The value of the attribute as found on the producer side.- Returns:
- the value from the producer
-
compatible
void compatible()Calling this method will indicate that the attributes are compatible. -
incompatible
void incompatible()Calling this method will indicate that the attributes are incompatible.
-