Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SystemPropertyRead (0.22 sec)

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

    abstract class SystemPropertyRead extends BuildInputRead {
        static SystemPropertyRead systemGetProperty(String name) {
            return new SystemPropertyRead() {
                @Override
                String getKotlinExpression() {
                    return "System.getProperty(\"$name\")"
                }
            }
        }
    
        static SystemPropertyRead systemGetPropertyWithDefault(String name, String defaultValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/UndeclaredBuildInputListener.kt

    import java.io.File
    
    
    @EventScope(Scope.BuildTree::class)
    interface UndeclaredBuildInputListener {
        /**
         * Called when an undeclared system property read happens.
         */
        fun systemPropertyRead(key: String, value: Any?, consumer: String?)
    
        fun envVariableRead(key: String, value: String?, consumer: String?)
    
        fun fileOpened(file: 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)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

            if (allowedProperties.contains(key) || Workarounds.canReadSystemProperty(consumer)) {
                return
            }
            undeclaredInputBroadcast.systemPropertyRead(key, value, consumer)
        }
    
        override fun systemPropertyChanged(key: Any, value: Any?, consumer: String) {
            environmentChangeTracker.systemPropertyChanged(key, value, consumer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top