- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 50 for onEvent (0.06 seconds)
-
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);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.2K bytes - Click Count (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;)VCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.1K bytes - Click Count (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 '{}'",Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 19 18:49:57 GMT 2025 - 12K bytes - Click Count (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(); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 3.4K bytes - Click Count (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. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.4K bytes - Click Count (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;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
protected int doExecute(MavenContext context, MavenExecutionRequest request) throws Exception { context.eventSpyDispatcher.onEvent(request); MavenExecutionResult result; try { result = context.maven.execute(request); context.eventSpyDispatcher.onEvent(result); } finally { context.eventSpyDispatcher.close(); } if (result.hasExceptions()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
@Inject public LegacyArtifactHandlerManager(Map<String, ArtifactHandler> artifactHandlers) { this.artifactHandlers = requireNonNull(artifactHandlers); } @Override public void onEvent(Object event) { if (event instanceof ExecutionEvent executionEvent) { if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { allHandlers.clear(); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
new DefaultDependencyResolutionRequest(project, session.getRepositorySession()); request.setResolutionFilter(resolutionFilter); eventSpyDispatcher.onEvent(request); result = dependenciesResolver.resolve(request); } catch (DependencyResolutionException e) { result = e.getResult(); /*
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (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(); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed May 14 04:47:58 GMT 2025 - 4K bytes - Click Count (0)