Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for WrappedConfigureAction (0.34 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ScriptSourceAwareImplementationResolver.java

                return invocationHandler;
            }
    
            // Same as above, if we have wrapped a closure in a WrappedConfigureAction or a ClosureBackedAction, we want to
            // track the closure itself, not the action class.
            if (bean instanceof ConfigureUtil.WrappedConfigureAction) {
                return ((ConfigureUtil.WrappedConfigureAction<?>) bean).getConfigureClosure();
            }
    
            if (bean instanceof ClosureBackedAction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:27:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ConfigureUtil.java

            new ClosureBackedAction<T>(withNewOwner, Closure.OWNER_ONLY, false).execute(target);
        }
    
        public static class WrappedConfigureAction<T> implements Action<T> {
            private final Closure configureClosure;
    
            WrappedConfigureAction(Closure configureClosure) {
                this.configureClosure = configureClosure;
            }
    
            @Override
            public void execute(T t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java

        }
    
        /**
         * Wrapper configure action.
         *
         * @param <T> the action type.
         */
        @Deprecated
        public static class WrappedConfigureAction<T> implements Action<T> {
            private final Closure configureClosure;
    
            WrappedConfigureAction(Closure configureClosure) {
                this.configureClosure = configureClosure;
            }
    
            @Override
            public void execute(T t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

                    // Used by a nested bean with action in a task, example:
                    // `NestedInputIntegrationTest.implementation of nested closure in decorated bean is tracked`
                    ConfigureUtil.WrappedConfigureAction.class,
                    // DefaultTestTaskReports used by AbstractTestTask extends this class
                    DefaultNamedDomainObjectSet.class,
                    // Used in gradle-base so it can't have annotations anyway
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java

            if (action instanceof InputChangesAwareTaskAction) {
                return (InputChangesAwareTaskAction) action;
            }
            if (action instanceof ConfigureUtil.WrappedConfigureAction) {
                Closure<?> configureClosure = ((ConfigureUtil.WrappedConfigureAction<?>) action).getConfigureClosure();
                return convertClosureToAction(configureClosure, actionName);
            }
            return new TaskActionWrapper(action, actionName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.util.ConfigureUtil$WrappedConfigureAction.getConfigureClosure()> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (ConfigureUtil.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.util.internal.ConfigureUtil$IncompleteInputException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ConfigureUtil.java:0)
    Class <org.gradle.util.internal.ConfigureUtil$WrappedConfigureAction> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ConfigureUtil.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top