Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getListener (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
                Collection<Listener> listeners = session.getListeners();
                if (!listeners.isEmpty()) {
                    Event event = new DefaultEvent(session, ee);
                    for (Listener listener : listeners) {
                        listener.onEvent(event);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        }
    
        public ArtifactResolutionRequest setResolutionFilter(ArtifactFilter filter) {
            this.resolutionFilter = filter;
    
            return this;
        }
    
        public List<ResolutionListener> getListeners() {
            return listeners;
        }
    
        public ArtifactResolutionRequest setListeners(List<ResolutionListener> listeners) {
            this.listeners = listeners;
    
            return this;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            Set<Artifact> artifacts = request.getArtifactDependencies();
            Map<String, Artifact> managedVersions = request.getManagedVersionMap();
            List<ResolutionListener> listeners = request.getListeners();
            ArtifactFilter collectionFilter = request.getCollectionFilter();
            ArtifactFilter resolutionFilter = request.getResolutionFilter();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Returns the list of registered listeners.
         *
         * @return an immutable collection of listeners, never {@code null}
         */
        @Nonnull
        Collection<Listener> getListeners();
    
        /**
         * Shortcut for {@code getService(RepositoryFactory.class).createLocal(...)}.
         *
         * @param path location of the local repository to create
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top