withCapabilities

Register a rule that modifies the capabilities of this variant.

Since

4.7

Parameters

action

the action that performs the capabilities adjustment