- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for withFactories (0.13 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)