# getMatchingStrategy

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

Returns the matching strategy for a given attribute.

#### Return

the matching strategy for this attribute.

#### Since

3.3

#### Parameters

attribute

the attribute

<T>

the type of the attribute

#### Throws

java.lang.IllegalArgumentException

When no strategy is available for the given attribute.