withCapabilities

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

Register a rule that modifies the capabilities of this variant.

Parameters

action

the action that performs the capabilities adjustment