Package org.gradle.model
@Incubating
package org.gradle.model
Classes that operate upon the Gradle model.
-
ClassDescriptionThrown when a cycle is encountered while configuring a model element.Denotes that the
RuleSource
method rule carrying this annotation initializes the rule subject with default values.Signals that aRuleSource
rule should be applied to all matching descendant elements of the scope instead of the scope itself.Denotes that theRuleSource
method rule carrying this annotation finalizes the rule subject.Thrown when a model rule, or source of model rules, is declared in an invalid way.Thrown when there is a problem with the usage of a model rule.A managed type is transparent to the model space, and enforces immutability at the appropriate times in the object's lifecycle.Denotes that theRuleSource
method rule carrying this annotation creates a new top level element in the model space.Represents an element in a model.ModelMap<T>Model backed map like structure allowing adding of items where instantiation is managed.Thrown when there is a problem binding the model element references of a model rule.ModelSet<T>A set of managed model objects.Thrown when at attempt is made to mutate a subject of a rule after the rule has completed.Denotes that theRuleSource
method rule carrying this annotation mutates the rule subject.Specifies a model path on a parameterThrown when an attempt is made to change the value of a model element that is not writable at the time.Attached to the getter for a property on aRuleSource
to denote that the property defines an implicit input for all rules defined by the rule source.Denotes that theRuleSource
method rule carrying this annotation defines additional rules based on its inputs.A marker type for a class that is a collection of rules.Attached to the getter for a property on aRuleSource
to denote that the property defines the target for the rule source.Indicates that a property of a managed model element is explicitly of an unmanaged type.Denotes that theRuleSource
method rule carrying this annotation validates the rule subject.Thrown when an attempt is made to read the value of a model element that is not readable at the time.