Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isStandardProperty (0.48 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/SystemPropertiesTest.groovy

    class SystemPropertiesTest extends Specification {
        def "can be queried for standard system properties"() {
            expect:
            SystemProperties.instance.isStandardProperty("os.name")
            !SystemProperties.instance.isStandardProperty("foo.bar")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 943 bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/EstablishBuildEnvironment.java

            File originalProcessDir = FileUtils.canonicalize(new File("."));
    
            for (Map.Entry<String, String> entry : build.getParameters().getSystemProperties().entrySet()) {
                if (SystemProperties.getInstance().isStandardProperty(entry.getKey())) {
                    continue;
                }
                if (SystemProperties.getInstance().isNonStandardImportantProperty(entry.getKey())) {
                    continue;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/SystemProperties.java

        }
    
        /**
         * Returns true if the given key is guaranteed to be contained in System.getProperties() by default,
         * as specified in the Javadoc for that method.
         */
        public boolean isStandardProperty(String key) {
            return STANDARD_PROPERTIES.contains(key);
        }
    
        /**
         * Returns true if the key is an important property that is not guaranteed to be contained in System.getProperties().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top