Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for Listeners (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            return updateScope;
        }
    
        private void fireEvent(int event, List<ResolutionListener> listeners, ResolutionNode node) {
            fireEvent(event, listeners, node, null);
        }
    
        private void fireEvent(int event, List<ResolutionListener> listeners, ResolutionNode node, Artifact replacement) {
            fireEvent(event, listeners, node, replacement, null);
        }
    
        private void fireEvent(
                int event,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        public List<ResolutionListener> getListeners() {
            return listeners;
        }
    
        public ArtifactResolutionRequest setListeners(List<ResolutionListener> listeners) {
            this.listeners = listeners;
    
            return this;
        }
    
        public ArtifactResolutionRequest addListener(ResolutionListener listener) {
            listeners.add(listener);
    
            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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

                        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);
                    }
                }
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided()) {
                if (provided instanceof WeakMojoExecutionListener) {
                    listeners.put((WeakMojoExecutionListener) provided, null);
                }
            }
            return listeners.keySet();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        void enqueueStoppedEvent() {
          listeners.enqueue(STOPPED_EVENT);
        }
    
        void enqueueHealthyEvent() {
          listeners.enqueue(HEALTHY_EVENT);
        }
    
        void enqueueFailedEvent(final Service service) {
          listeners.enqueue(
              new ListenerCallQueue.Event<Listener>() {
                @Override
                public void call(Listener listener) {
                  listener.failure(service);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        void enqueueStoppedEvent() {
          listeners.enqueue(STOPPED_EVENT);
        }
    
        void enqueueHealthyEvent() {
          listeners.enqueue(HEALTHY_EVENT);
        }
    
        void enqueueFailedEvent(final Service service) {
          listeners.enqueue(
              new ListenerCallQueue.Event<Listener>() {
                @Override
                public void call(Listener listener) {
                  listener.failure(service);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    // won't happen
                }
            }
    
            if (listeners == null) {
                listeners = new ArrayList<>();
    
                if (logger.isDebugEnabled()) {
                    listeners.add(new DebugResolutionListener(logger));
                }
    
                listeners.add(new WarningResolutionListener(logger));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.java

                Map<String, Artifact> managedVersions,
                ArtifactResolutionRequest repositoryRequest,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers);
    
        ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        RecordingListener listener = new RecordingListener();
        manager.addListener(listener, directExecutor());
        manager.startAsync().awaitHealthy();
        assertTrue(manager.isHealthy());
        assertTrue(listener.healthyCalled);
        assertFalse(listener.stoppedCalled);
        assertTrue(listener.failedServices.isEmpty());
        manager.stopAsync().awaitStopped();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelBuildingListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * Provides a skeleton implementation for model building listeners. The methods of this class are empty.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top