- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,029 for addLink (0.21 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/StructNodeInitializer.java
} private void addLink(MutableModelNode modelNode, ModelRegistrations.Builder builder, boolean internal) { ModelRegistration registration = builder .descriptor(modelNode.getDescriptor()) .hidden(internal) .build(); modelNode.addLink(registration); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java
} public static void addLink(MutableModelNode node, String path, Transformer<ModelRegistration, ModelRegistrations.Builder> definition) { addLink(node, ModelPath.path(path), definition); } public static void addLink(MutableModelNode node, ModelPath path, Transformer<ModelRegistration, ModelRegistrations.Builder> definition) { node.addLink(definition.transform(registration(path))); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy
def f = node("d") given: def listener = Mock(ModelListener) { matches(_) >> true getAncestor() >> a.path } a.addLink b b.addLink c when: graph.add(a) graph.add(b) graph.add(c) graph.addListener(listener) then: 1 * listener.onDiscovered(b)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMaps.java
Cast.uncheckedCast(ModelType.of(ChildNodeInitializerStrategy.class)); public static <T> MutableModelNode addModelMapNode(MutableModelNode modelNode, ModelType<T> elementModelType, String name) { modelNode.addLink( ModelRegistrations.of(modelNode.getPath().child(name)) .action(ModelActionRole.Create, NODE_INITIALIZER_REGISTRY_MODEL_REFERENCE, new BiAction<MutableModelNode, NodeInitializerRegistry>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 56K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/MutableModelNode.java
* * The path returned by {@link ModelRegistration#getPath()} is used to determine the name of the link. */ void addLink(ModelRegistration registration); /** * Removes a node linked from this node from the graph. */ void removeLink(String name); /** * Applies an action to this node. */
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/core/NodeBackedModelSet.java
.descriptor(descriptor) .action(ModelActionRole.Initialize, NoInputsModelAction.of(ModelReference.of(childPath, elementType), descriptor, action)) .build(); modelNode.addLink(registration); } @Override public void afterEach(Action<? super T> configAction) { state.assertCanMutate();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java
ManagedInstance target = (ManagedInstance) instance; modelNode.addReference(name, target.getManagedType(), target.getBackingNode(), descriptor); } else { modelNode.addLink( ModelRegistrations.unmanagedInstance( ModelReference.of(modelNode.getPath().child(name), type), Factories.constant(instance) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 23K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelReferenceNode.java
} @Override public ModelAdapter getAdapter() { return target == null ? super.getAdapter() : target.getAdapter(); } @Override public void addLink(ModelRegistration registration) { throw new UnsupportedOperationException(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0)