- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for on_event (0.03 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
*/ @Named @Singleton public class EventSpyImpl implements EventSpy { @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object arg) throws Exception { if (arg instanceof ExecutionEvent ee) { InternalMavenSession session = InternalMavenSession.from(ee.getSession().getSession());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 29 20:53:26 UTC 2024 - 2.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
} override fun request(): Request = request override fun cancel() { canceled = true call?.cancel() } override fun onEvent( id: String?, type: String?, data: String, ) { listener.onEvent(this, id, type, data) } override fun onRetryChange(timeMs: Long) { // Ignored. We do not auto-retry. }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 3.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Listener.java
* TODO: open this to other events like similar to {@code org.apache.maven.eventspy.EventSpy} * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer public interface Listener { void onEvent(@Nonnull Event event);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 1.2K bytes - Viewed (0) -
okhttp-sse/api/okhttp-sse.api
} public abstract class okhttp3/sse/EventSourceListener { public fun <init> ()V public fun onClosed (Lokhttp3/sse/EventSource;)V public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V public fun onFailure (Lokhttp3/sse/EventSource;Ljava/lang/Throwable;Lokhttp3/Response;)VRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 1.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
} settingsRequest.setUserProperties(props); if (request.getEventSpyDispatcher() != null) { request.getEventSpyDispatcher().onEvent(settingsRequest); } LOGGER.debug( "Reading installation settings from '{}'",Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 19 18:49:57 UTC 2025 - 12K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry"); this.allHandlers = new ConcurrentHashMap<>(); } @Override public void onEvent(Object event) { if (event instanceof ExecutionEvent executionEvent) { if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { allHandlers.clear(); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
* @see org.apache.maven.project.DependencyResolutionResult * @see org.apache.maven.execution.ExecutionEvent * @see org.eclipse.aether.RepositoryEvent */ void onEvent(Object event) throws Exception; /** * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it. */ void close() throws Exception;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Feb 10 15:02:53 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
* events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } open fun onEvent( eventSource: EventSource, id: String?, type: String?, data: String, ) { } /** * No further calls to this listener will be made. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 1.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
this.usedTypes = new ConcurrentHashMap<>(); this.manager = requireNonNull(manager, "artifactHandlerManager cannot be null"); } @Override public void onEvent(Object event) { if (event instanceof ExecutionEvent executionEvent) { if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { usedTypes.clear(); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed May 14 04:47:58 UTC 2025 - 4K bytes - Viewed (0)