Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for reapplyCurrentLater (0.39 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/UserCodeApplicationContext.java

         * Returns the given action when there is no current application.
         */
        <T> Action<T> reapplyCurrentLater(Action<T> action);
    
        /**
         * Returns details of the current application, if any.
         */
        @Nullable
        Application current();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/code/DefaultUserCodeApplicationContext.java

            currentApplication.set(null);
            try {
                runnable.run();
            } finally {
                currentApplication.set(current);
            }
        }
    
        @Override
        public <T> Action<T> reapplyCurrentLater(final Action<T> action) {
            final CurrentApplication current = currentApplication.get();
            if (current == null) {
                return action;
            }
            return current.reapplyLater(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            }
    
            @Override
            public void beforeResolve(Action<? super ResolvableDependencies> action) {
                dependencyResolutionListeners.add("beforeResolve", userCodeApplicationContext.reapplyCurrentLater(action));
            }
    
            @Override
            public void beforeResolve(Closure action) {
                beforeResolve(ConfigureUtil.configureUsing(action));
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            _ * resolver.getAllRepositories() >> []
            _ * domainObjectCollectioncallbackActionDecorator.decorate(_) >> { args -> args[0] }
            _ * userCodeApplicationContext.reapplyCurrentLater(_) >> { args -> args[0] }
            _ * rootComponentMetadataBuilder.getValidator() >> Mock(MutationValidator)
            _ * rootComponentMetadataBuilder.withConfigurationsProvider(_) >> rootComponentMetadataBuilder
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top