- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,185 for Managed (0.17 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy
} def "cannot assign a non-managed instance to a property of a managed type"() { when: buildScript ''' @Managed interface Platform { OperatingSystem getOperatingSystem() void setOperatingSystem(OperatingSystem operatingSystem) } @Managed interface OperatingSystem {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeReferencesIntegrationTest.groovy
*/ package org.gradle.model.managed import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.integtests.fixtures.UnsupportedWithConfigurationCache @UnsupportedWithConfigurationCache(because = "software model") class ManagedTypeReferencesIntegrationTest extends AbstractIntegrationSpec { def "rule can provide a managed model element that references another managed model element"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ScalarTypesInManagedModelTest.groovy
import org.gradle.model.Managed @Managed interface ManagedType { $someType.canonicalName getManagedProperty() } """ then: failWhenRealized(clazz, Pattern.quote("Invalid managed model type 'ManagedType': read only property 'managedProperty' has non managed type ${fullyQualifiedNameOf(someType)}, only managed types can be used"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy
then: fails 'tasks' and: failure.assertHasCause("Calling setters of a managed type on itself is not allowed") } def "reports managed abstract type in missing property error message"() { when: buildScript ''' @Managed abstract class Person { abstract String getName()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/CyclicalManagedTypeIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/VariantAspectExtractionIntegrationTest.groovy
fails "components" failure.assertHasCause "Invalid managed model type SampleBinary: @Variant annotation only allowed for properties of type String and org.gradle.api.Named, but property has type java.lang.Integer (invalid property: variantProp)" } def "variant annotation on property with primitive type raises error"() { buildFile << """ @Managed interface SampleBinary extends BinarySpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedImmutableManagedValue.java
import org.gradle.internal.state.Managed; import org.gradle.internal.state.ManagedFactory; import org.gradle.internal.state.ManagedFactoryRegistry; import javax.annotation.Nullable; public class IsolatedImmutableManagedValue extends AbstractIsolatableScalarValue<Managed> { private final ManagedFactoryRegistry managedFactoryRegistry;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelTypeInitializationException.java
import org.gradle.model.ModelSet; import org.gradle.model.internal.manage.schema.CollectionSchema; import org.gradle.model.internal.manage.schema.ModelSchemaStore; import org.gradle.model.internal.type.ModelType; import java.util.List; import java.util.Set; /** * Thrown when a NodeInitializer can not be found for a given type or when the type is not managed and can not be constructed. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java
* limitations under the License. */ package org.gradle.model.internal.manage.binding; import org.gradle.model.internal.type.ModelType; /** * A managed property of a struct type. * * <p>Managed properties are properties whose values need to be stored in child-nodes. A * managed property is detected when the view schemas declaring the struct declare a property with only abstract accessor
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelSet.java
import org.gradle.api.Action; import org.gradle.api.Incubating; import java.util.Set; /** * A set of managed model objects. * <p> * {@link org.gradle.model.Managed} types may declare managed set properties. * Managed sets can only contain managed types. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0)