Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for decorateUnknownListener (0.27 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

            and:
            decorator.decorate('foo', BuildListener, buildListener) is buildListener
            decorator.decorateUnknownListener('foo', buildListener) is buildListener
    
            and:
            decorator.decorate('foo', ProjectEvaluationListener, projectEvaluationListener) is projectEvaluationListener
            decorator.decorateUnknownListener('foo', projectEvaluationListener) is projectEvaluationListener
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/configuration/internal/TestListenerBuildOperationDecorator.groovy

            return closure
        }
    
        @Override
        <T> T decorate(String registrationPoint, Class<T> cls, T listener) {
            listener
        }
    
        @Override
        Object decorateUnknownListener(String registrationPoint, Object listener) {
            listener
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 07 07:04:44 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

            return getListenerManager().getBroadcaster(BuildScopeListenerRegistrationListener.class);
        }
    
        private Object decorateUnknownListener(String registrationPoint, Object listener) {
            return getListenerBuildOperationDecorator().decorateUnknownListener(registrationPoint, listener);
        }
    
        private Closure<?> decorate(String registrationPoint, Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/configuration/internal/ListenerBuildOperationDecorator.java

         * @param listener the listener object to decorate
         * @see #decorate(String, Class, Object)
         */
        Object decorateUnknownListener(String registrationPoint, Object listener);
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/internal/DefaultListenerBuildOperationDecorator.java

            return targetClass.cast(Proxy.newProxyInstance(listenerClass.getClassLoader(), allInterfaces.toArray(new Class[0]), handler));
        }
    
        @Override
        public Object decorateUnknownListener(String registrationPoint, Object listener) {
            return decorate(registrationPoint, Object.class, listener);
        }
    
        private static boolean isSupported(Object listener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top