Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for on_event (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java

            dispatcher.onEvent(event);
            delegate.projectDiscoveryStarted(event);
        }
    
        @Override
        public void sessionStarted(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.sessionStarted(event);
        }
    
        @Override
        public void sessionEnded(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.sessionEnded(event);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.9K bytes
    - Viewed (2)
  2. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java

            dispatcher.onEvent(event);
            delegate.artifactDeployed(event);
        }
    
        @Override
        public void artifactDeploying(RepositoryEvent event) {
            dispatcher.onEvent(event);
            delegate.artifactDeploying(event);
        }
    
        @Override
        public void artifactDescriptorInvalid(RepositoryEvent event) {
            dispatcher.onEvent(event);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                    logError("initialize", e, eventSpy);
                }
            }
        }
    
        public void onEvent(Object event) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.onEvent(event);
                } catch (Exception | LinkageError e) {
                    logError("notify", e, eventSpy);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/monitor/event/EventMonitor.java

     * under the License.
     */
    package org.apache.maven.monitor.event;
    
    /**
     */
    @Deprecated
    public interface EventMonitor {
    
        void startEvent(String eventName, String target, long timestamp);
    
        void endEvent(String eventName, String target, long timestamp);
    
        void errorEvent(String eventName, String target, long timestamp, Throwable cause);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        public void init(Context context) throws Exception {}
    
        public void onEvent(Object event) throws Exception {}
    
        public void close() throws Exception {}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  6. 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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. 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;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  8. 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 executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        EventSpyImpl(DefaultSessionFactory sessionFactory) {
            this.sessionFactory = sessionFactory;
        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. 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 executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 19:18:14 GMT 2023
    - 2.4K bytes
    - Viewed (0)
Back to top