Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ResolutionListener (0.14 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Listens to the resolution process and handles events.
     *
     */
    @Deprecated
    public interface ResolutionListener {
        String ROLE = ResolutionListener.class.getName();
    
        int TEST_ARTIFACT = 1;
    
        int PROCESS_CHILDREN = 2;
    
        int FINISH_PROCESSING_CHILDREN = 3;
    
        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                int event,
                List<ResolutionListener> listeners,
                ResolutionNode node,
                Artifact replacement,
                VersionRange newRange) {
            for (ResolutionListener listener : listeners) {
                switch (event) {
                    case ResolutionListener.TEST_ARTIFACT:
                        listener.testArtifact(node.getArtifact());
                        break;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionListener;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    import org.apache.maven.repository.legacy.resolver.conflict.ConflictResolver;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        @Deprecated
        ArtifactResolutionResult resolveTransitively(
                Set<Artifact> artifacts,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        }
    
        public void resolve(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
                ArtifactRepository localRepository,
                TransferListener resolutionListener)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        public void resolveAlways(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            return this;
        }
    
        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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListenerForDepMgmt.java

     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Do not use!
     * <p>
     * Should only be implemented by DebugResolutionListener.  Remove this
     * when the ResolutionListener interface deprecation of the manageArtifact
     * method (and the [yet to be done] addition of these methods to that
     * interface) has had a chance to propagate to all interested plugins.
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java

                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners)
                throws ArtifactResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Send resolution warning events to the warning log.
     *
     */
    @Deprecated
    public class WarningResolutionListener implements ResolutionListener {
        private Logger logger;
    
        public WarningResolutionListener(Logger logger) {
            this.logger = logger;
        }
    
        public void testArtifact(Artifact node) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Send resolution events to the debug log.
     *
     */
    @Deprecated
    public class DebugResolutionListener implements ResolutionListener, ResolutionListenerForDepMgmt {
        private Logger logger;
    
        private String indent = "";
    
        private static Set<Artifact> ignoredArtifacts = new HashSet<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top