- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for BroadcastDispatch (0.16 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/BroadcastDispatch.java
*/ public abstract class BroadcastDispatch<T> extends AbstractBroadcastDispatch<T> { private BroadcastDispatch(Class<T> type) { super(type); } public static <T> BroadcastDispatch<T> empty(Class<T> type) { return new EmptyDispatch<T>(type); } public Class<T> getType() { return type;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 13:00:00 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy
def listener3 = Mock(Dispatch) expect: def dispatch1 = BroadcastDispatch.empty(TestListener) dispatch1.remove(listener1).is(dispatch1) def dispatch2 = BroadcastDispatch.empty(TestListener).add(listener1) dispatch2.remove(listener2).is(dispatch2) def dispatch3 = BroadcastDispatch.empty(TestListener).add(listener1).add(listener2) dispatch3.remove(listener3).is(dispatch3)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 14.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerBroadcast.java
*/ public class ListenerBroadcast<T> implements Dispatch<MethodInvocation> { private ProxyDispatchAdapter<T> source; private BroadcastDispatch<T> broadcast; private final Class<T> type; public ListenerBroadcast(Class<T> type) { this.type = type; broadcast = BroadcastDispatch.empty(type); } /** * Returns the broadcaster. Any method call on this object is broadcast to all listeners. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4.5K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (BroadcastDispatch.java:0) Class <org.gradle.internal.event.BroadcastDispatch$CompositeDispatch> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (BroadcastDispatch.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)