api / org.gradle.model / Validate

Validate

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) @Incubating class Validate

Denotes that the RuleSource method rule carrying this annotation validates the rule subject.

Validate rules execute after Finalize rules, but before rule subject is used as an input. The first parameter of the rule is the rule subject, which is immutable.

Please see RuleSource for more information on method rules.

Constructors

<init>

Validate()

Denotes that the RuleSource method rule carrying this annotation validates the rule subject.

Validate rules execute after Finalize rules, but before rule subject is used as an input. The first parameter of the rule is the rule subject, which is immutable.

Please see RuleSource for more information on method rules.