- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for unmanagedInstance (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
InternalUnmanagedType internalImpl = proxyClassInternal.newInstance(state, typeConverter, unmanagedInstance) then: unmanagedInstance.unmanagedValue == "Lajos" when: internalImpl.unmanagedValue = "Geza" then: unmanagedInstance.unmanagedValue == "Geza" expect: internalImpl.add(2, 3) == 5 when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy
def barList = [] def factory = Mock(org.gradle.internal.Factory) { create() >> barList } def barRegistration = ModelRegistrations.unmanagedInstance(barReference, factory).descriptor(descriptor).build() registry.register(barRegistration) def foo = registry.atStateOrLater(fooReference.path, ModelNode.State.Discovered) then:
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/NodeBackedModelMap.java
modelNode.addReference(name, target.getManagedType(), target.getBackingNode(), descriptor); } else { modelNode.addLink( ModelRegistrations.unmanagedInstance( ModelReference.of(modelNode.getPath().child(name), type), Factories.constant(instance) ) .descriptor(descriptor) .build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 23K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
} private <T> void registerFactoryOn(ModelRegistry modelRegistry, String path, ModelType<T> type, Factory<T> factory) { modelRegistry.register(ModelRegistrations .unmanagedInstance(ModelReference.of(path, type), factory) .descriptor(instanceDescriptorFor(path)) .hidden(true) .build()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0)