- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isDirectChild (0.13 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java
return linked != null && predicate.apply(linked); } @Override public void applyToLink(ModelActionRole type, ModelAction action) { if (!getPath().isDirectChild(action.getSubject().getPath())) { throw new IllegalArgumentException(String.format("Linked element action reference has a path (%s) which is not a child of this node (%s).", action.getSubject().getPath(), 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/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
return projectPath; } @Override public DefaultModelRegistry register(ModelRegistration registration) { ModelPath path = registration.getPath(); if (!ModelPath.ROOT.isDirectChild(path)) { throw new InvalidModelRuleDeclarationException(registration.getDescriptor(), "Cannot register element at '" + path + "', only top level is allowed (e.g. '" + path.getRootParent() + "')"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0)