- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for modelPath (0.29 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy
then: e = thrown(ModelPath.InvalidNameException) e.message =~ "contains illegal" when: ModelPath.validateName("Z9z") ModelPath.validateName("abc") ModelPath.validateName("aBC") ModelPath.validateName("a10") ModelPath.validateName("_") ModelPath.validateName("_a") ModelPath.validateName("__") ModelPath.validateName("a_Z") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java
@Nullable private final ModelPath path; private final ModelType<T> type; @Nullable private final ModelPath scope; private final ModelNode.State state; @Nullable private final String description; private int hashCode; private ModelReference(@Nullable ModelPath path, ModelType<T> type, @Nullable ModelPath scope, @Nullable ModelNode.State state, @Nullable String description) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/NonTransformedModelDslBacking.java
this.modelPath = modelPath; this.modelRegistry = modelRegistry; } private NonTransformedModelDslBacking getChildPath(String name) { ModelPath path = modelPath == null ? ModelPath.path(name) : modelPath.child(name); return new NonTransformedModelDslBacking(executingDsl, path, modelRegistry); } private void registerConfigurationAction(final Closure<?> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelPathSuggestionProvider.java
} } } @Override public List<ModelPath> transform(final ModelPath unavailable) { Iterable<Suggestion> suggestions = Iterables.transform(availablePaths, new Function<ModelPath, Suggestion>() { @Override public Suggestion apply(ModelPath available) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/TransformedModelDslBacking.java
* Invoked by transformed DSL configuration rules */ public void configure(String modelPathString, Closure<?> closure) { ModelPath modelPath = ModelPath.path(modelPathString); DeferredModelAction modelAction = ruleFactory.toAction(Object.class, closure); registerAction(modelPath, ModelType.UNTYPED, ModelActionRole.Mutate, modelAction); } /** * Invoked by transformed DSL creation rules */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathTest.groovy
ModelPath.path("a.b").isDescendant(ModelPath.path("a.b.c")) ModelPath.path("a.b").isDescendant(ModelPath.path("a.b.c.d.e")) !ModelPath.path("a.b").isDescendant(ModelPath.path("a.a")) !ModelPath.path("a.b").isDescendant(ModelPath.path("a.a.b")) !ModelPath.path("a.b").isDescendant(ModelPath.path("a.b")) !ModelPath.path("a.b").isDescendant(ModelPath.path("a"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
@Override public <T> T realize(String path, ModelType<T> type) { return realize(ModelPath.path(path), type); } @Override public <T> T realize(ModelPath path, ModelType<T> type) { return toType(type, require(path), "get(ModelPath, ModelType)"); } public ModelNode atState(ModelPath path, ModelNode.State state) { return atStateOrMaybeLater(path, state, false); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ManagedModelCreationRuleExtractor.java
} @Override protected <R, S> ExtractedModelRule buildRule(ModelPath modelPath, MethodRuleDefinition<R, S> ruleDefinition) { ModelType<S> modelType = ruleDefinition.getSubjectReference().getType(); final ModelSchema<S> modelSchema = getModelSchema(modelType, ruleDefinition); return new ExtractedManagedCreationRule<R, S>(modelPath, ruleDefinition, modelSchema); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java
private final Iterable<? extends RuleBinder> binders; private final Transformer<? extends Collection<? extends ModelPath>, ? super ModelPath> suggestionsProvider; public UnboundRulesProcessor(Iterable<? extends RuleBinder> binders, Transformer<? extends Collection<? extends ModelPath>, ? super ModelPath> suggestionsProvider) { this.binders = binders; this.suggestionsProvider = suggestionsProvider; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0)