# getMatchingStrategy

abstract fun <T> getMatchingStrategy(attribute: Attribute<T>): AttributeMatchingStrategy<T>

Returns the matching strategy for a given attribute.

#### Return

the matching strategy for this attribute.

#### Parameters

attribute

the attribute

<T>

the type of the attribute

#### Throws

java.lang.IllegalArgumentException

When no strategy is available for the given attribute.