Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for _Decorated (0.26 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/collections/DefaultCollectionEventRegister.java

            subscribe(type);
            return registerLazyAddDecoratedAction(decorated);
        }
    
        private Action<? super T> registerLazyAddDecoratedAction(Action<? super T> decorated) {
            addActions = addActions.add(decorated);
            return decorated;
        }
    
        private void registerRemoveDecoratedAction(Action<? super T> decorated) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:16:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java

        private final ScriptPlugin decorated;
        private final BuildOperationRunner buildOperationRunner;
        private final UserCodeApplicationContext userCodeApplicationContext;
    
        public BuildOperationScriptPlugin(ScriptPlugin decorated, BuildOperationRunner buildOperationRunner, UserCodeApplicationContext userCodeApplicationContext) {
            this.decorated = decorated;
            this.buildOperationRunner = buildOperationRunner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy

            !(bean instanceof IConventionAware)
            !(bean instanceof GroovyObject)
        }
    
        def "can create decorated and undecorated subclasses of same class"() {
            def services = Stub(ServiceLookup)
            services.get(Number) >> 12
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher_test.go

    		pod, ok := e.Object.(*example.Pod)
    		if !ok {
    			t.Fatalf("Should received object of type *api.Pod, get type (%T)", e.Object)
    		}
    		if pod.Annotations["decorated"] != "true" {
    			t.Fatalf("pod.Annotations[\"decorated\"], want=%s, get=%s", "true", pod.Labels["decorated"])
    		}
    		if e.Type != watchType {
    			t.Fatalf("expected type %s, got %s", watchType, e.Type)
    		}
    	case <-time.After(wait.ForeverTestTimeout):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 02 19:25:31 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeParallelIntegrationTest.groovy

                            decorated << toolProvider
                        }
                        return toolProvider
                    }
    
                    void undecorateToolProviders() {
                        decorated.each { toolProvider ->
                            Field workerLeaseService = toolProvider.getClass().getDeclaredField("workerLeaseService")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/ExecActionFactory.java

        /**
         * Creates an {@link ExecAction} that is not decorated. Use this when the action is not made visible to the DSL.
         * If you need to make the action visible to the DSL, use {@link org.gradle.process.ExecOperations} instead.
         */
        ExecAction newExecAction();
    
        /**
         * Creates a {@link JavaExecAction} that is not decorated. Use this when the action is not made visible to the DSL.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

        }
    
        /**
         * Gradle decoration does not generate correct Kotlin metadata for decorated Kotlin types.
         * Because of that, decorated types do not appear as subtypes of the original types when inspected with Kotlin reflection.
         * Workaround: use Java reflection to determine the supertypes.
         * TODO: Either fix Kotlin metadata in decorated classes or introduce generic utilities
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginInstantiator.java

    import org.gradle.internal.reflect.Instantiator;
    
    import java.lang.reflect.Modifier;
    
    /**
     * An instantiator that uses the correct instantiation scheme depending on the plugin type.  This allows
     * us to use a decorated instantiator for types that need it (such as software type plugins) and continue
     * using the injected instantiator for types that do not need it (such as plugin types marked as final).
     */
    @NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy

        def buildOperationScriptPlugin = new BuildOperationScriptPlugin(decoratedScriptPlugin, buildOperationRunner, userCodeApplicationContext)
        def target = "Test Target"
    
        def "delegates to decorated script plugin via build operation"() {
            when:
            buildOperationScriptPlugin.apply(target)
    
            then:
            2 * scriptSource.getResource() >> scriptSourceResource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/test/groovy/org/gradle/internal/code/DefaultUserCodeApplicationContextTest.groovy

            def action = Mock(Action)
            def deferred = Mock(Action)
            def id1
            def decorated
    
            when:
            context.apply(source, action)
    
            then:
            1 * action.execute(_) >> { UserCodeApplicationId id ->
                id1 = id
                decorated = context.current().reapplyLater(deferred)
            }
            0 * deferred._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 13:19:04 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top