api / org.gradle.api / Rule / apply

apply

abstract fun apply(domainObjectName: String): Unit

Applies this rule for the given unknown domain object. The rule can choose to ignore this name, or add a domain object with the given name.

Parameters

domainObjectName - The name of the unknown domain object.