Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 78 of 78 for ModelPath (0.28 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        abstract Class<T> getItemClass()
        abstract Class<S> getSpecialItemClass()
        ModelType<T> getItemType() { ModelType.of(itemClass) }
        ModelType<S> getSpecialItemType() { ModelType.of(specialItemClass) }
        ModelPath path = ModelPath.path("map")
    
        ModelType<ModelMap<T>> getModelMapType() {
            ModelTypes.modelMap(itemType)
        }
    
        void mutate(@DelegatesTo(ModelMap) Closure<?> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

    import org.gradle.model.internal.core.ModelAction;
    import org.gradle.model.internal.core.ModelActionRole;
    import org.gradle.model.internal.core.ModelNode;
    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.model.internal.core.ModelProjection;
    import org.gradle.model.internal.core.ModelRegistration;
    import org.gradle.model.internal.core.ModelRegistrations;
    import org.gradle.model.internal.core.ModelView;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelNode.java

                return ModelNode.State.values()[ordinal() - 1];
            }
    
            public boolean isAtLeast(State state) {
                return this.ordinal() >= state.ordinal();
            }
        }
    
        ModelPath getPath();
    
        ModelRuleDescriptor getDescriptor();
    
        State getState();
    
        /**
         * Creates an immutable view over this node's value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

            // Or at least, the file locations do so that they can be tweaked.
            // LD - 5/6/14
            MutableModelNode backingNode = ((ManagedInstance) binaries).getBackingNode();
            ModelPath binaryPath = backingNode.getPath().child(name);
            backingNode.applyToLink(ModelActionRole.Defaults, DirectNodeNoInputsModelAction.of(
                ModelReference.of(binaryPath, NativeBinarySpec.class),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                model {
                    tasks {
                        create("t1")
                        create("t2")
                    }
                }
                def tasksPath = ModelPath.path("tasks")
                def registry = project.modelRegistry
                gradle.taskGraph.whenReady {
                    println "task container node state when task graph ready: ${registry.state(tasksPath)}"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelSet.java

        }
    
        @Override
        public void create(final Action<? super T> action) {
            state.assertCanMutate();
    
            String name = String.valueOf(modelNode.getLinkCount(ModelNodes.withType(elementType)));
            ModelPath childPath = modelNode.getPath().child(name);
            final ModelRuleDescriptor descriptor = this.descriptor.append("create()");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.model.internal.core.ModelNode;
    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.model.internal.core.MutableModelNode;
    import org.gradle.model.internal.core.NamedEntityInstantiator;
    import org.gradle.model.internal.type.ModelType;
    import org.gradle.util.Path;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.internal.core.ModelPath$1> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0)
    Class <org.gradle.model.internal.core.ModelPath$Cache> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ModelPath.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top