- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for ModelSchemaExtractionContext (0.33 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaExtractionContext.java
import java.lang.reflect.Method; public interface ModelSchemaExtractionContext<T> extends ValidationProblemCollector { /** * Returns the type currently being inspected. */ ModelType<T> getType(); /** * Registers a type that should be inspected. */ <C> ModelSchemaExtractionContext<C> child(ModelType<C> type, String description); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/InvalidManagedModelElementTypeException.java
} return out.toString(); } public InvalidManagedModelElementTypeException(ModelSchemaExtractionContext<?> extractionContext) { super(getMessage((DefaultModelSchemaExtractionContext<?>) extractionContext), null); } public InvalidManagedModelElementTypeException(ModelSchemaExtractionContext<?> extractionContext, String message) { this(extractionContext, message, null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/VariantAspectExtractionStrategy.java
import org.gradle.model.internal.manage.schema.extract.ModelSchemaAspectExtractionStrategy; import org.gradle.model.internal.manage.schema.extract.ModelSchemaExtractionContext; import org.gradle.model.internal.manage.schema.extract.PropertyAccessorExtractionContext; import org.gradle.platform.base.Variant; import javax.annotation.Nullable; import java.util.List;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java
protected StructSchemaExtractionStrategySupport(ModelSchemaAspectExtractor aspectExtractor) { this.aspectExtractor = aspectExtractor; } @Override public <R> void extract(final ModelSchemaExtractionContext<R> extractionContext) { ModelType<R> type = extractionContext.getType(); if (!isTarget(type)) { return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaExtractionStrategy.java
* Potentially extracts the schema for a type. If this strategy does not recognize the type, this method should return without doing anything. * * If the strategy does recognize the type, it should call {@link ModelSchemaExtractionContext#found(org.gradle.model.internal.manage.schema.ModelSchema)} with the resulting schema, or one of the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java
}; // TODO extract common stuff from this and ModelSet and reuse @Override public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) { ModelType<T> type = extractionContext.getType(); if (MODEL_MAP_MODEL_TYPE.isAssignableFrom(type)) { if (!type.getRawClass().equals(ModelMap.class)) {
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/internal/manage/schema/extract/JavaUtilCollectionStrategy.java
public final static List<Class<?>> TYPES = ImmutableList.<Class<?>>of( List.class, Set.class ); @Override public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) { ModelType<T> type = extractionContext.getType(); Class<? super T> rawClass = type.getRawClass(); List<ModelType<?>> typeVariables = type.getTypeVariables();
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/internal/manage/schema/extract/SpecializedMapStrategy.java
return generator.generate(NodeBackedModelMap.class, contractType.getConcreteClass()); } }); @Override public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) { ModelType<T> modelType = extractionContext.getType(); if (!modelType.isClass()) { return; } Class<?> contractType = modelType.getConcreteClass();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetStrategy.java
private final ModelType<?> modelType; public ModelSetStrategy() { modelType = new ModelType<ModelSet<?>>() { }; } @Override public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) { ModelType<T> type = extractionContext.getType(); if (modelType.isAssignableFrom(type)) { if (!type.getRawClass().equals(ModelSet.class)) {
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/internal/manage/schema/extract/DefaultModelSchemaExtractor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.3K bytes - Viewed (0)