- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for schemaStore (0.13 sec)
-
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/ComponentTypeModelRuleExtractor.java
} } private final ModelSchemaStore schemaStore; private final ModelReference<ComponentSpecFactory> registryRef; public ComponentTypeModelRuleExtractor(ModelSchemaStore schemaStore) { this.schemaStore = schemaStore; this.registryRef = COMPONENT_SPEC_FACTORY_MODEL_REFERENCE; } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java
return extract(key.publicType, key.viewTypes, key.delegateType); } }); private final ModelSchemaStore schemaStore; public DefaultStructBindingsStore(ModelSchemaStore schemaStore) { this.schemaStore = schemaStore; } @Override public <T> StructBindings<T> getBindings(ModelType<T> publicType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 29.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
private final ModelSchemaStore schemaStore; private final StructBindingsStore structBindingsStore; public ModelRuleExtractor(Iterable<MethodModelRuleExtractor> handlers, ManagedProxyFactory proxyFactory, ModelSchemaStore schemaStore, StructBindingsStore structBindingsStore) { this.handlers = handlers; this.proxyFactory = proxyFactory; this.schemaStore = schemaStore;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GlobalScopeServices.java
return new DefaultModelSchemaStore(modelSchemaExtractor); } @Provides protected StructBindingsStore createStructBindingsStore(ModelSchemaStore schemaStore) { return new DefaultStructBindingsStore(schemaStore); } @Provides protected ModelRuleSourceDetector createModelRuleSourceDetector() { return new ModelRuleSourceDetector(); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy
@Override protected NodeInitializerRegistry createNodeInitializerRegistry(ModelSchemaStore schemaStore, StructBindingsStore structBindingsStore) { // Not shared across tests as test may add constructible types only applying to that particular test return new DefaultNodeInitializerRegistry(schemaStore, structBindingsStore) } def "should fail with a contextual exception for managed collections properties"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy
final static ModelType<ComponentSpecFactory> FACTORY_REGISTRY_TYPE = ModelType.of(ComponentSpecFactory) ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } Class<?> ruleClass = Rules def "applies ComponentModelBasePlugin and creates component type rule"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
import static org.junit.Assume.assumeTrue class DefaultStructBindingsStoreTest extends Specification { def schemaStore = new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies()) def bindingStore = new DefaultStructBindingsStore(schemaStore) def "extracts empty"() { def bindings = extract(Object) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
import static org.gradle.model.ModelTypeTesting.fullyQualifiedNameOf class ModelRuleExtractorTest extends ProjectRegistrySpec { def extractor = new ModelRuleExtractor(MethodModelRuleExtractors.coreExtractors(SCHEMA_STORE), MANAGED_PROXY_FACTORY, SCHEMA_STORE, STRUCT_BINDINGS_STORE) ModelRegistry registry = new DefaultModelRegistry(extractor, null) static class ModelThing { final String name ModelThing(String name) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy
def key = [backingStateType, managedType, delegateType] Class<?> generatedClass = generated[key] as Class<? extends T> if (generatedClass == null) { def managedSchema = (StructSchema) schemaStore.getSchema(managedType) def bindings = structBindingsStore.getBindings(ModelType.of(managedType), [], delegateType == null ? null : ModelType.of(delegateType))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.6K bytes - Viewed (0)