Attributes Schema
An attributes schema stores information about attributes and how they can be matched together.
Since
3.3
Functions
Link copied to clipboard
Declares a new attribute in the schema and configures it with the default strategy.
abstract fun <T> attribute(attribute: Attribute<T>, configureAction: Action<in AttributeMatchingStrategy<T>>): AttributeMatchingStrategy<T>
Configures the matching strategy for an attribute.
Link copied to clipboard
Adds attributes to the precedence order.
Link copied to clipboard
Returns the order that attributes should be considered when resolving ambiguity.
Link copied to clipboard
Returns the set of attributes known to this schema.
Link copied to clipboard
Returns the matching strategy for a given attribute.
Link copied to clipboard
Returns true when this schema contains the given attribute.
Link copied to clipboard
Sets the order of precedence of attributes when resolving ambiguity.