Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for propertyNames (0.32 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/TrackingDynamicLookupRoutine.kt

        override fun property(receiver: DynamicObject, propertyName: String): Any? =
            withDynamicCall(receiver) {
                receiver.getProperty(propertyName)
            }
    
        override fun findProperty(receiver: DynamicObject, propertyName: String): Any? =
            withDynamicCall(receiver) {
                val dynamicInvokeResult: DynamicInvokeResult = receiver.tryGetProperty(propertyName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultDynamicLookupRoutine.java

        @Override
        public Object property(DynamicObject receiver, String propertyName) throws MissingPropertyException {
            return receiver.getProperty(propertyName);
        }
    
        @Override
        public @Nullable Object findProperty(DynamicObject receiver, String propertyName) {
            DynamicInvokeResult dynamicInvokeResult = receiver.tryGetProperty(propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:49:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                if (targetMetadata.hasProperty(null, propertyName) == null) {
                    if (propertyName == "class") {
                        return javaClass
                    }
                    throw MissingPropertyException(propertyName)
                }
                scriptReferenced()
            }
    
            override fun setProperty(propertyName: String, newValue: Any?) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/DynamicLookupRoutine.java

    public interface DynamicLookupRoutine {
        @Nullable Object property(DynamicObject receiver, String propertyName) throws MissingPropertyException;
        @Nullable Object findProperty(DynamicObject receiver, String propertyName);
        void setProperty(DynamicObject receiver, String name, @Nullable Object value);
        boolean hasProperty(DynamicObject receiver, String propertyName);
        @Nullable Map<String, ?> getProperties(DynamicObject receiver);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:49:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/GradlePropertiesIncludedBuildFixture.groovy

            abstract String expectedPropertyOutput()
    
            protected static String echoTaskForProperty(String propertyName) {
                """
                    task echo(type: DefaultTask) {
                        def property = providers.gradleProperty('$propertyName')
                            doFirst {
                                println("$propertyName: " + property.orNull)
                            }
                        }
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedExecutionAccessListener.kt

    ) : InstrumentedExecutionAccess.Listener {
    
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, propertyName: String, consumer: String) {
            executionAccessChecker.disallowedAtExecutionInjectedServiceAccessed(injectedServiceType, propertyName, consumer)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDirectoryPluginIntegrationTest.groovy

            file("$folder/src/main/java/${pluginName}.java") << """
                import org.gradle.api.*;
    
                public class $pluginName implements Plugin<Project> {
                    @Override
                    public void apply(Project project) {
                        String returned = System.getProperty("$propertyName");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

            property(name) { jsonString(value) }
        }
    
        private
        inline fun property(name: String, value: () -> Unit) {
            propertyName(name)
            value()
        }
    
        private
        fun propertyName(name: String) {
            simpleString(name)
            write(':')
        }
    
        private
        fun simpleString(name: String) {
            write('"')
            write(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

                }
            }
    
            private
            fun verifyTryGetProperty(propertyName: String) =
                inOrder(target, dynamicObject) {
                    verify(target as DynamicObjectAware).asDynamicObject
                    verify(dynamicObject).tryGetProperty(propertyName)
                    verifyNoMoreInteractions()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

            given:
            def problem = problemReporter.create {
                it.id("id", "label", GradleCoreProblemGroup.validation())
                    .additionalData(TypeValidationDataSpec.class) {
                        it.propertyName("property")
                        it.typeName("type")
                        it.parentPropertyName("parent")
                        it.pluginId("id")
                    }
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top