Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Consumer (1.11 sec)

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

        }
    
        override fun externalProcessStarted(command: String, consumer: String) {
            if (Workarounds.canStartExternalProcesses(consumer)) {
                return
            }
            externalProcessListener.onExternalProcessStarted(command, consumer)
        }
    
        override fun fileOpened(file: File, consumer: String) {
            if (Workarounds.canReadFiles(consumer)) {
                return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

            } else {
                locationForCaller(consumer, diagnostics.source)
            }
        }
    
        private
        fun locationForCaller(consumer: String?, source: UserCodeSource?): PropertyTrace {
            return if (source != null) {
                PropertyTrace.BuildLogic(source.displayName, null)
            } else if (consumer != null) {
                PropertyTrace.BuildLogicClass(consumer)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/UndeclaredBuildInputListener.kt

         */
        fun systemPropertyRead(key: String, value: Any?, consumer: String?)
    
        fun envVariableRead(key: String, value: String?, consumer: String?)
    
        fun fileOpened(file: File, consumer: String?)
    
        fun fileObserved(file: File, consumer: String?)
    
        fun fileSystemEntryObserved(file: File, consumer: String?)
    
        fun directoryChildrenObserved(directory: File, consumer: String?)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ExecutionAccessChecker.kt

    ) : ExecutionAccessChecker {
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, getterName: String, consumer: String) {
            if (shouldReportExecutionTimeAccess()) {
                broadcaster.disallowedAtExecutionInjectedServiceAccessed(injectedServiceType, getterName, consumer)
            }
        }
    
        private
        fun shouldReportExecutionTimeAccess(): Boolean =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemFactory.kt

    
    @EventScope(Scope.BuildTree::class)
    interface ProblemFactory {
        /**
         * Returns a default location inferred from the calling thread's state.
         */
        fun locationForCaller(consumer: String? = null): PropertyTrace
    
        /**
         * Creates a problem with the given message and exception.
         *
         * Problem has no documentation, and a default location is inferred from the calling thread's state.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheReportIntegrationTest.groovy

    import com.microsoft.playwright.Playwright
    import org.gradle.test.fixtures.Flaky
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    
    import java.util.function.Consumer
    
    import static org.gradle.integtests.fixtures.configurationcache.ConfigurationCacheProblemsFixture.resolveConfigurationCacheReport
    
    // Ignore test on non-Windows platforms on CI since Playwright has unfulfilled package
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt

    ) : ConfigurationCacheProblemsListener {
    
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, getterName: String, consumer: String) {
            val problem = problemFactory.problem(consumer) {
                text("accessing non-serializable type ")
                reference(injectedServiceType)
                text(" caused by invocation ")
                reference(getterName)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

        private
        val mode = ModeHolder()
    
        override fun systemPropertyChanged(key: Any, value: Any?, consumer: String?) =
            mode.toTrackingMode().systemPropertyChanged(key, value, consumer)
    
        override fun systemPropertyLoaded(key: Any, value: Any?, oldValue: Any?) {
            mode.toTrackingMode().systemPropertyLoaded(key, value, oldValue)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

                    outputFile.set(layout.buildDirectory.file("consumer-output.txt"))
                }
            '''
    
            and:
            file('producer-input.txt').text = '42'
    
            when:
            configurationCacheRun 'consumer'
    
            then:
            configurationCache.assertStateStored(true)
    
            and:
            file('build/consumer-output.txt').text == '42'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top