withCapabilities

abstract fun withCapabilities(action: Action<out Any>)

Register a rule that modifies the capabilities of this variant.

Parameters

action

the action that performs the capabilities adjustment