Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for ModelPath (0.33 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.realize("parent")
    
            expect:
            registry.atStateOrLater("parent", ModelNode.State.Registered).path == ModelPath.path("parent")
            registry.atStateOrLater("parent.foo", ModelNode.State.Registered).path == ModelPath.path("parent.foo")
    
            registry.remove(ModelPath.path("parent"))
    
            when:
            registry.atStateOrLater("parent", ModelNode.State.Registered) == null
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java

                return description;
            }
    
            public String getPath() {
                return path;
            }
        }
    
        public AmbiguousBindingReporter(ModelReference<?> reference, ModelPath path1, ModelRuleDescriptor creator1, ModelPath path2, ModelRuleDescriptor creator2) {
            this(reference.getType().toString(), reference.getDescription(), ImmutableList.of(
                    new Provider(String.valueOf(path1), String.valueOf(creator1)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy

            }
    
            void inputReference(Class type, ModelNode.State state) {
                inputReference(ModelReference.of(null, ModelType.of(type), state).inScope(ModelPath.ROOT))
            }
    
            void inputReference(String path, ModelNode.State state) {
                inputReference(ModelReference.of(ModelPath.path(path), ModelType.untyped(), state))
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/PluginDetectionIntegrationTest.groovy

            buildFile """
                import org.gradle.model.internal.core.ModelPath
    
                pluginManager.withPlugin("my") {
                  assert tasks."imperative-sentinel"
                  // note: modelRegistry property is internal on project
                  assert modelRegistry.node(ModelPath.path("thing")) != null
                }
    
                pluginManager.apply(MyPlugin)
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ReadOnlyModelViewException.java

            super(message);
        }
    
        public ReadOnlyModelViewException(ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            super(createMessage("read only", path, type, ruleDescriptor));
        }
    
        protected static String createMessage(String viewType, ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            StringBuilder result = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/WriteOnlyModelViewException.java

    public class WriteOnlyModelViewException extends GradleException {
    
        public WriteOnlyModelViewException(String property, ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            super(createMessage(property, path, type, ruleDescriptor));
        }
    
        private static String createMessage(String property, ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            StringBuilder result = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/BindingPredicate.java

        }
    
        @Nullable
        @Override
        public ModelPath getPath() {
            return reference.getPath();
        }
    
        public ModelType<?> getType() {
            return reference.getType();
        }
    
        public boolean matches(MutableModelNode node) {
            return reference.isUntyped() || node.canBeViewedAs(reference.getType());
        }
    
        @Nullable
        public ModelPath getScope() {
            return reference.getScope();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultMethodRuleDefinition.java

                @Override
                public boolean isSatisfiedBy(Annotation element) {
                    return element.annotationType().equals(Path.class);
                }
            });
            ModelPath path = pathAnnotation == null ? null : ModelPath.path(pathAnnotation.value());
            ModelType<?> cast = method.getGenericParameterTypes().get(i);
            return ModelReference.of(path, cast, PARAMETER_DESC[i]);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodModelRuleApplicationContext.java

     * limitations under the License.
     */
    
    package org.gradle.model.internal.inspect;
    
    import org.gradle.model.internal.core.ModelAction;
    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.model.internal.registry.ModelRegistry;
    
    public interface MethodModelRuleApplicationContext {
        ModelRegistry getRegistry();
    
        /**
         * Contextualizes the given action.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionModelView.java

        protected final ModelPath path;
        protected final ModelType<E> elementType;
        protected final ModelType<C> type;
        protected final MutableModelNode modelNode;
        protected final boolean overwritable;
        protected final DefaultModelViewState state;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top