Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for disallowChanges (0.15 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/provider/HasConfigurableValue.java

         *
         * <p>You can use this method along with {@link #disallowChanges()} to indicate that the value has been configured and that the final value is ready to calculate,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 05 16:10:02 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/JacocoReport.java

        private final JacocoReportsContainer reports;
    
        public JacocoReport() {
            super();
            projectName.value(getProject().getName()).disallowChanges();
            reports = getInstantiator().newInstance(JacocoReportsContainerImpl.class, this, getCallbackActionDecorator());
        }
    
        /**
         * The reported project name.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy

        }
    
        def "cannot set value using file when changes disallowed"() {
            given:
            def file = tmpDir.file("thing")
            def prop = propertyWithNoValue()
            prop.disallowChanges()
    
            when:
            prop.set(file)
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'The value for this property cannot be changed any further.'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top