Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getSingletonProperty (0.17 sec)

  1. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/serialize/ProjectProvider.kt

    import org.gradle.internal.serialize.graph.ReadContext
    import org.gradle.internal.serialize.graph.getSingletonProperty
    
    
    typealias ProjectProvider = (String) -> ProjectInternal
    
    
    fun ReadContext.getProject(path: String): ProjectInternal =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1015 bytes
    - Viewed (0)
  2. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

        /**
         * Defers the given [action] until all objects have been read.
         */
        fun onFinish(action: () -> Unit)
    
        fun <T : Any> getSingletonProperty(propertyType: Class<T>): T
    }
    
    
    inline
    fun <reified T : Any> ReadContext.getSingletonProperty(): T =
        getSingletonProperty(T::class.java)
    
    
    suspend fun <T : Any> ReadContext.readNonNull() = read()!!.uncheckedCast<T>()
    
    
    interface IsolateContext {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        /**
         * Sets a client specific property value that can be queried via [getSingletonProperty].
         */
        fun <T : Any> setSingletonProperty(singletonProperty: T) {
            this.singletonProperty = singletonProperty
        }
    
        override fun <T : Any> getSingletonProperty(propertyType: Class<T>): T {
            val propertyValue = singletonProperty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            override val classLoader: ClassLoader
                get() = undefined()
    
            override fun onFinish(action: () -> Unit) =
                undefined()
    
            override fun <T : Any> getSingletonProperty(propertyType: Class<T>): T =
                undefined()
    
            override fun beanStateReaderFor(beanType: Class<*>): BeanStateReader =
                undefined()
    
            override var immediateMode: Boolean
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top