Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,189 for PROPERTY (0.21 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

            "System.properties['some.property']"                   | _
            "System.getProperties().get('some.property')"          | _
            "getProperties().get('some.property')"                 | _
            "System.getProperty('some.property')"                  | _
            "getProperty('some.property')"                         | _
            "System.getProperty('some.property', 'default.value')" | _
            "getProperty('some.property', 'default.value')"        | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleActionParameters.java

    import org.gradle.api.provider.MapProperty;
    import org.gradle.api.provider.Property;
    
    public interface CheckstyleActionParameters extends AntWorkParameters {
        RegularFileProperty getConfig();
    
        ConfigurableFileCollection getSource();
    
        Property<Integer> getMaxErrors();
    
        Property<Integer> getMaxWarnings();
    
        Property<Boolean> getIgnoreFailures();
    
        DirectoryProperty getConfigDirectory();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

            "System.getProperties().get(\"some.property\")"            | _
            "System.getProperty(\"some.property\")"                    | _
            "System.getProperty(\"some.property\", \"default.value\")" | _
            "System.setProperty(\"some.property\", \"new.value\")"     | _
            "System.clearProperty(\"some.property\")"                  | _
        }
    
        def "setProperties is instrumented in Java"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            if (getterMethod == null) {
                throw new NoSuchPropertyException(String.format("Could not find getter method for property '%s' on class %s.", property, target.getSimpleName()));
            }
            return new GetterMethodBackedPropertyAccessor<T, F>(property, returnType, getterMethod);
        }
    
        /**
         * Locates the property with the given name as a readable property. Searches only public properties.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

            when:
            configurationCacheRun("-Dsome.property.1=1", "-Dsome.property.2=2", "print")
    
            then:
            configurationCache.assertStateStored()
            outputContains("Configuration: some.property.1 = 0")
            outputContains("Configuration: some.property.2 = 2")
    
            when:
            configurationCacheRun("-Dsome.property.1=-1", "-Dsome.property.2=2", "print")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java

        /**
         * Adds an element to the property value.
         *
         * <p>The given provider will be queried when the value of this property is queried.
         *
         * <p>
         * When invoked on a property with no value, this method first sets the value
         * of the property to its current convention value, if set, or an empty collection.
         * </p>
         * <p>Even if the given provider has no value, after this method is invoked,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomRelocation.java

            groupId = objectFactory.property(String.class);
            artifactId = objectFactory.property(String.class);
            version = objectFactory.property(String.class);
            message = objectFactory.property(String.class);
        }
    
        @Override
        public Property<String> getGroupId() {
            return groupId;
        }
    
        @Override
        public Property<String> getArtifactId() {
            return artifactId;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomScm.java

            connection = objectFactory.property(String.class);
            developerConnection = objectFactory.property(String.class);
            url = objectFactory.property(String.class);
            tag = objectFactory.property(String.class);
        }
    
        @Override
        public Property<String> getConnection() {
            return connection;
        }
    
        @Override
        public Property<String> getDeveloperConnection() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "${Property.name}<String>"            | "objects.property(String); v.set('abc')"              | "objects.property(String); v.set('123')"                     | "Type 'SomeTask': property 'v' of mutable type 'org.gradle.api.provider.Property' is writable. Properties of type 'org.gradle.api.provider.Property' are already mutable. Possible solution: Remove the 'setV' method. ${learnAt("validation_problems",...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

            .filter { property ->
                (includeMemberFilter.shouldIncludeMember(property) ||
                    kClass.primaryConstructor?.parameters.orEmpty().any { it.name == property.name && it.type == property.returnType })
                    && property.visibility == KVisibility.PUBLIC
                    && propertyNamePredicate(property.name)
            }.map { property -> kPropertyInformation(property) }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top