- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getRootParent (0.18 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java
arraycopy(components, 0, childComponents, 0, components.length); childComponents[components.length] = child; return path(path + "." + child, childComponents); } public ModelPath getRootParent() { return components.length <= 1 ? null : ModelPath.path(components[0]); } @Nullable public ModelPath getParent() { return parent; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
if (!ModelPath.ROOT.isDirectChild(path)) { throw new InvalidModelRuleDeclarationException(registration.getDescriptor(), "Cannot register element at '" + path + "', only top level is allowed (e.g. '" + path.getRootParent() + "')"); } ModelNodeInternal root = modelGraph.getRoot(); root.addLink(registration); return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0)