Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ReadOnlyModelViewException (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ReadOnlyModelViewException.java

     * Thrown when an attempt is made to change the value of a model element that is not writable at the time.
     */
    @Incubating
    public class ReadOnlyModelViewException extends GradleException {
        public ReadOnlyModelViewException(String message) {
            super(message);
        }
    
        public ReadOnlyModelViewException(ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            super(createMessage("read only", 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)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.projection
    
    import org.gradle.model.ReadOnlyModelViewException
    import org.gradle.model.internal.core.ModelPath
    import org.gradle.model.internal.core.ModelReference
    import org.gradle.model.internal.core.ModelRegistrations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DefaultModelViewState.java

     */
    
    package org.gradle.model.internal.core;
    
    import javax.annotation.concurrent.NotThreadSafe;
    import org.gradle.api.Action;
    import org.gradle.model.ModelViewClosedException;
    import org.gradle.model.ReadOnlyModelViewException;
    import org.gradle.model.WriteOnlyModelViewException;
    import org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor;
    import org.gradle.model.internal.type.ModelType;
    
    @NotThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.projection
    
    import org.gradle.model.Managed
    import org.gradle.model.ModelSet
    import org.gradle.model.ReadOnlyModelViewException
    import org.gradle.model.internal.core.ModelPath
    import org.gradle.model.internal.core.ModelReference
    import org.gradle.model.internal.core.ModelRegistrations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelViewClosedException.java

     * Such as when an anonymous inner class or closure “closes over” the subject.
     */
    @Incubating
    public class ModelViewClosedException extends ReadOnlyModelViewException {
        public ModelViewClosedException(ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
            super(createMessage("closed", path, type, ruleDescriptor));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        def "cannot add when realized"() {
            when:
            realizeAsModelMap().create("foo")
    
            then:
            thrown ReadOnlyModelViewException
        }
    
        def "is managed instance"() {
            when:
            mutate {
                assert it instanceof ManagedInstance
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top