- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WriteOnlyModelViewException (0.26 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/WriteOnlyModelViewException.java
/** * Thrown when an attempt is made to read the value of a model element that is not readable at the time. */ @Incubating public class WriteOnlyModelViewException extends GradleException { public WriteOnlyModelViewException(String property, ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) { super(createMessage(property, path, type, ruleDescriptor)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DefaultModelViewState.java
@Override public void assertCanReadChildren() { if (!canReadChildren) { throw new WriteOnlyModelViewException(null, path, type, ruleDescriptor); } } @Override public void assertCanReadChild(String name) { if (!canReadChildren) { throw new WriteOnlyModelViewException(name, path, type, ruleDescriptor); } } @Override public boolean isCanMutate() {
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/ManagedNodeBackedModelMapTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0)