- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for applyToLink (0.19 sec)
-
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java
// 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), new SimpleModelRuleDescriptor("initialize binary " + binaryPath),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java
node.applyToSelf(role, action.transform(ModelActionBuilder.of())); } public static void applyToLink(MutableModelNode node, ModelActionRole role, Transformer<ModelAction, ModelActionBuilder<?>> action) { node.applyToLink(role, action.transform(ModelActionBuilder.of())); }
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/main/java/org/gradle/model/internal/core/MutableModelNode.java
/** * Applies an action to a linked node. * * The path returned by {@link ModelAction#getSubject()} is used to select the link to apply the action to. */ void applyToLink(ModelActionRole type, ModelAction action); /** * Applies the rules defined in the given rule source to this node. */ void applyToSelf(Class<? extends RuleSource> rules); /**
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/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy
@Override void addLink(ModelRegistration registration) { } @Override void removeLink(String name) { } @Override def void applyToLink(ModelActionRole type, ModelAction action) { } @Override void applyTo(NodePredicate predicate, ModelActionRole role, ModelAction action) { } @Override
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/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java
public Set<String> getLinkNames(ModelType<?> type) { return getLinkNames(withType(type)); } @Override public void defineRulesForLink(ModelActionRole role, ModelAction action) { applyToLink(role, action); } @Override public void defineRulesFor(NodePredicate predicate, ModelActionRole role, ModelAction action) { applyTo(predicate, role, action); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:51:08 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java
ModelRuleDescriptor descriptor = sourceDescriptor.append("named(%s)", name); ModelReference<T> subject = ModelReference.of(modelNode.getPath().child(name), elementType); modelNode.applyToLink(ModelActionRole.Mutate, new FilteringActionWrapper<T>(elementFilter, subject, NoInputsModelAction.of(subject, descriptor, configAction))); } @Override
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 void removeLink(String name) { throw new UnsupportedOperationException(); } @Override public void applyToLink(ModelActionRole type, ModelAction action) { throw new UnsupportedOperationException(); } @Override public void applyTo(NodePredicate predicate, ModelActionRole role, ModelAction action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java
ModelNodeInternal linked = getLink(name); return linked != null && predicate.apply(linked); } @Override public void applyToLink(ModelActionRole type, ModelAction action) { if (!getPath().isDirectChild(action.getSubject().getPath())) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy
node.addLinkInstance("parent.foo", "ignore me") node.addLinkInstance("parent.bar", new Bean(value: "bar")) node.applyToLink(ModelActionRole.Mutate) { it.path("parent.bar").node { MutableModelNode bar -> bar.addLinkInstance("parent.bar.child1", new Bean(value: "baz")) bar.addLinkInstance("parent.bar.child2", "ignore me too")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 56K bytes - Viewed (0)