- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for withFactories (0.18 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/state/DefaultManagedFactoryRegistryTest.groovy
def buzzFactory = factory(Buzz) registry.withFactories(buzzFactory, fooFactory) expect: registry.lookup(fooFactory.id) == fooFactory } def "returns null for unknown type"() { def fooFactory = factory(Foo) def barFactory = factory(Bar) def buzzFactory = factory(Buzz) registry.withFactories(barFactory, fooFactory) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/state/DefaultManagedFactoryRegistry.java
this.parent = parent; } public DefaultManagedFactoryRegistry() { this(null); } public ManagedFactoryRegistry withFactories(ManagedFactory... factories) { for (ManagedFactory factory : factories) { register(factory); } return this; } @Override @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/WorkerSharedGlobalScopeServices.java
return new DefaultManagedFactoryRegistry().withFactories( instantiatorFactory.getManagedFactory(), new ConfigurableFileCollectionManagedFactory(fileCollectionFactory), new RegularFileManagedFactory(fileFactory),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 9.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java
return new DefaultManagedFactoryRegistry(parent).withFactories( new ManagedFactories.ConfigurableFileCollectionManagedFactory(fileCollectionFactory), new org.gradle.api.internal.file.ManagedFactories.RegularFilePropertyManagedFactory(filePropertyFactory),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy
ManagedFactory generatorFactory = TestUtil.instantiatorFactory().managedFactory final ManagedFactoryRegistry managedFactoryRegistry = new DefaultManagedFactoryRegistry().withFactories(generatorFactory) ClassGenerator generator = AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), generatorFactory.id)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.2K bytes - Viewed (0)